Changeset 3548 for trunk/src/wsock32/asyncthread.cpp
- Timestamp:
- May 18, 2000, 11:09:04 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wsock32/asyncthread.cpp
r3378 r3548 1 /* $Id: asyncthread.cpp,v 1. 4 2000-04-15 09:23:36sandervl Exp $ */1 /* $Id: asyncthread.cpp,v 1.5 2000-05-18 09:09:03 sandervl Exp $ */ 2 2 3 3 /* … … 176 176 pThreadInfo = threadList; 177 177 while(pThreadInfo) { 178 if(pThreadInfo->u.asyncselect.s == s ) {178 if(pThreadInfo->u.asyncselect.s == s && !pThreadInfo->fRemoved) { 179 179 return pThreadInfo; 180 180 } … … 196 196 pThreadInfo->hwnd = hwnd; 197 197 pThreadInfo->msg = msg; 198 if(lEvent == 0) { 199 //make sure this thread isn't used anymore 200 pThreadInfo->fRemoved = TRUE; 201 } 198 202 //cancel pending select in async select thread (if any) 199 203 so_cancel(s);
Note:
See TracChangeset
for help on using the changeset viewer.