Changeset 3936
- Timestamp:
- 11/04/06 14:38:39
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gnuradio/trunk/gnuradio-core/src/lib/omnithread/nt.cc
r3534 r3936 33 33 #include <stdlib.h> 34 34 #include <errno.h> 35 #include <WinError.h> 35 36 #include <omnithread.h> 36 37 #include <process.h> … … 386 387 omni_semaphore::post(void) 387 388 { 388 if (!ReleaseSemaphore(nt_sem, 1, NULL)) 389 if (!ReleaseSemaphore(nt_sem, 1, NULL) 390 && GetLastError() != ERROR_TOO_MANY_POSTS ) // MinGW fix by Don Ward 389 391 throw omni_thread_fatal(GetLastError()); 390 392 }
