[ctypes-users] callbacks called from threads
Brought to you by:
theller
From: Leonard \paniq\ R. <pa...@gm...> - 2005-10-25 00:54:12
|
is it possible to pass a callback function to a library that is going to call this function from a different thread? if, how? if not, why? i am doing this with SDL_mixer and Mix_SetPostMix, and i get a segfault when i am doing something else in the main thread meanwhile. -- -- leonard "paniq" ritter -- http://www.mjoo.org -- http://www.paniq.org |