Something wrong in making a separate thread for event handling?

Hi all,

I read in the SDL Doc project that this guideline:

“Don’t call SDL video/event functions ffrom separate threads”

Can someone tell me what’s the reason behind? Wouldn’t it make it easier to code one thread to deal with the events while the main thread takes care of some computing/video display?

Aur?lien Marchand,
Programmer/Analyst/Web Developer
Research Capital Corporation
Phone: (416) 860-7790
Reply to: