Changeset 1660
- Timestamp:
- Nov 22, 2004, 2:45:33 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/src/lib/process/thread_internals.c
-
Property cvs2svn:cvs-rev
changed from
1.9
to1.10
r1659 r1660 115 115 /** @todo rewrite to use a read/write semaphore, not mutex. */ 116 116 if (gmtxThrdDB.fs == _FMS_UNINIT) 117 _fmutex_create (&gmtxThrdDB, 0);117 _fmutex_create2(&gmtxThrdDB, 0, "LIBC Thread DB Mutex"); 118 118 119 119 rc = _fmutex_request(&gmtxThrdDB, 0); … … 247 247 } 248 248 249 /* not found? search zombie DB. */ 249 /* 250 * Not found? search zombie DB. 251 */ 250 252 if (p) 251 253 { … … 254 256 gpThrdDBZombies = pThrd->pNext; 255 257 gcThrdDBZombies--; 258 p = NULL; 256 259 } 257 260 else … … 268 271 } 269 272 270 assert(p); /* it must be found! */ 273 /* 274 * Did we succeed in finding it? If not don't dispose of the the thread! 275 */ 271 276 if (p) 277 { 278 assert(!p); 272 279 pThrd = NULL; 280 } 273 281 } 274 282 } -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.