Changeset 2329 for trunk/src/kernel32/wprocess.cpp
- Timestamp:
- Jan 5, 2000, 8:39:57 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/wprocess.cpp
r2298 r2329 1 /* $Id: wprocess.cpp,v 1.6 4 2000-01-02 22:09:02sandervl Exp $ */1 /* $Id: wprocess.cpp,v 1.65 2000-01-05 19:39:57 sandervl Exp $ */ 2 2 3 3 /* … … 101 101 } 102 102 //****************************************************************************** 103 //****************************************************************************** 104 THDB *WIN32API GetTHDBFromThreadHandle(HANDLE hThread) 105 { 106 THDB *thdb = threadList; 107 108 threadListMutex.enter(); 109 while(thdb) { 110 if(thdb->hThread == hThread) { 111 break; 112 } 113 thdb = thdb->next; 114 } 115 threadListMutex.leave(); 116 return thdb; 117 } 118 //****************************************************************************** 103 119 // Set up the TIB selector and memory for the current thread 104 120 //****************************************************************************** … … 154 170 thdb->pWsockData = NULL; 155 171 thdb->threadId = GetCurrentThreadId(); 172 thdb->hThread = GetCurrentThread(); 156 173 157 174 threadListMutex.enter();
Note:
See TracChangeset
for help on using the changeset viewer.