Changeset 3226 for trunk/src/wsock32/new/asyncthread.cpp
- Timestamp:
- Mar 24, 2000, 8:22:51 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wsock32/new/asyncthread.cpp
r3205 r3226 1 /* $Id: asyncthread.cpp,v 1. 2 2000-03-23 19:21:53sandervl Exp $ */1 /* $Id: asyncthread.cpp,v 1.3 2000-03-24 19:22:51 sandervl Exp $ */ 2 2 3 3 /* … … 36 36 pThreadParm->asyncProc((PVOID)arg); 37 37 38 //only for blocking hooks (currently not implemented 38 //only for blocking hooks (currently not implemented) 39 39 //// if(pThreadParm->request == ASYNC_BLOCKHOOK) 40 40 //// WSASetBlocking(FALSE, pThreadParm->hThread); 41 41 42 pThreadParm->fActive = FALSE;43 RemoveFromQueue(pThreadParm);44 42 free((PVOID)pThreadParm); 45 43 … … 216 214 if(pThreadInfo) { 217 215 pThreadInfo->u.asyncselect.lEventsPending |= (pThreadInfo->u.asyncselect.lEvents & flags); 216 //unblock async thread if it was waiting 217 pThreadInfo->u.asyncselect.asyncSem->post(); 218 218 219 //cancel pending select in async select thread (if any) 219 220 so_cancel(s); 220 221 //unblock async thread if it was waiting222 pThreadInfo->u.asyncselect.asyncSem->post();223 221 } 224 222 asyncThreadMutex.leave();
Note:
See TracChangeset
for help on using the changeset viewer.