B
Bit byte
I am writing an application that requires me to load a (Win32 C) libray
and then register several call back functions.
I am loading the libary in a worker thread and then registering
functions in the worker thread in the loaded library.
Two questions
1). Does loadlibrary(0 run the executable in the same thread as the
calee (probably not)
2). Is it safe to register/call callback funcs accross threads (assuming
functions are written so as note to alter state of calee)
and then register several call back functions.
I am loading the libary in a worker thread and then registering
functions in the worker thread in the loaded library.
Two questions
1). Does loadlibrary(0 run the executable in the same thread as the
calee (probably not)
2). Is it safe to register/call callback funcs accross threads (assuming
functions are written so as note to alter state of calee)