From: Leon B. <le...@us...> - 2008-02-25 01:38:18
|
Update of /cvsroot/djvu/djvulibre-3.5/libdjvu In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv20822/libdjvu Modified Files: atomic.cpp Log Message: Fixed win32 code in atomic.cpp and win32 projects Index: atomic.cpp =================================================================== RCS file: /cvsroot/djvu/djvulibre-3.5/libdjvu/atomic.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** atomic.cpp 25 Feb 2008 01:24:43 -0000 1.2 --- atomic.cpp 25 Feb 2008 01:38:14 -0000 1.3 *************** *** 111,115 **** ResetEvent(&ev); LeaveCriticalSection(&cs); ! WaitForSingleObject(ev); EnterCriticalSection(&cs); } --- 111,115 ---- ResetEvent(&ev); LeaveCriticalSection(&cs); ! WaitForSingleObject(ev, INFINITE); EnterCriticalSection(&cs); } |