jamieduk / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
1 stars 0 forks source link

Fix gtk threading issues #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Current gtk gui is not setup to handle gtk calls from multiple threads.
Need to init threading support and add gdk_threads_enter/leave calls around
all gtk code.

Original issue reported on code.google.com by ebenbl...@gmail.com on 15 Apr 2008 at 3:15

GoogleCodeExporter commented 9 years ago

Original comment by ebenbl...@gmail.com on 15 Apr 2008 at 10:45

GoogleCodeExporter commented 9 years ago
Fix committed in r213. I took the approach of calling gdk_threads_enter() before
gtk_main() and gdk_threads_leave() after. This allows makes it so the only code 
that
needs to explicitly call the enter/leave functions is code that is making gtk 
calls
from outside the main gtk thread.

Original comment by ebenbl...@gmail.com on 15 Apr 2008 at 11:43