I'm trying to run some NSWindow functions from another thread on OSX. I am doing this via ctypes so need to find the library files.
dispatch_sync
I found in libc.dylib
but I can't find dispatch_get_main_queue
, does anyone know the library that is in? Is it not in libc
? I thought to use this based on here: Objective C Multi thread NSWindow alternative?
I also couldn't find the docs of the types used on opensource.apple can someone also help me find that for this Dispatch
module.