Changeset 9304


Ignore:
Timestamp:
Apr 27, 2008, 10:59:28 AM (11 years ago)
Author:
gb
Message:

SEM_WAIT for Windows: WaitForSingleObject?, not WaitOn?...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/win64/lisp-kernel/Threads.h

    r9278 r9304  
    9292
    9393typedef void * SEMAPHORE;
    94 #define SEM_WAIT(s) WaitOnSingleObject(s,INFINITE)
     94#define SEM_WAIT(s) WaitForSingleObject(s,INFINITE)
    9595#define SEM_RAISE(s) ReleaseSemaphore(s, 1L, NULL)
    9696#define SEM_BROADCAST(s, count) do {while(count) {SEM_RAISE(s);(count)--;}}while(0)
Note: See TracChangeset for help on using the changeset viewer.