[Scummvm-cvs-logs] CVS: scummvm x11.cpp,1.16,1.17
Lionel Ulmer
bbrox at users.sourceforge.net
Sat Apr 20 11:14:03 CEST 2002
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv5253
Modified Files:
x11.cpp
Log Message:
Was bitten *again* by the same stupid threading bug :-)
Index: x11.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/x11.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** x11.cpp 20 Apr 2002 17:57:54 -0000 1.16
--- x11.cpp 20 Apr 2002 18:13:36 -0000 1.17
***************
*** 227,230 ****
--- 227,231 ----
}
+ sched_yield();
while (1) {
unsigned short *buf = (unsigned short *)sound_buffer;
***************
*** 375,379 ****
bool OSystem_X11::set_sound_proc(void *param, SoundProc *proc, byte format) {
! THREAD_PARAM thread_param;
/* And finally start the music thread */
--- 376,380 ----
bool OSystem_X11::set_sound_proc(void *param, SoundProc *proc, byte format) {
! static THREAD_PARAM thread_param;
/* And finally start the music thread */
More information about the Scummvm-git-logs
mailing list