- Timestamp:
- Aug 24, 2005, 4:27:14 PM (20 years ago)
- Location:
- trunk/src/emx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/ChangeLog.LIBC
-
Property cvs2svn:cvs-rev
changed from
1.127
to1.128
r2306 r2307 2 2 3 3 TODO: open replace on RAMFS fails with error 32! 4 5 2005-08-24: knut st. osmundsen <bird-gccos2-spam@anduin.net> 6 - libc: 7 o Fixed bad panic format types in safesems. 4 8 5 9 2005-08-21: knut st. osmundsen <bird-gccos2-spam@anduin.net> -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/src/lib/sys/safesems.c
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r2306 r2307 226 226 rc = DosCreateMutexSemEx(NULL, &hmtxNew, pmtx->fShared ? DC_SEM_SHARED : 0, TRUE); 227 227 if (rc) 228 __libc_Back_panic(0, NULL, "safesem mutex owner died: create mutex failed, rc=%d. pmtx=%p:{.hmtx=% #lx .fShared=%d}\n",229 rc, (void *)pmtx, pmtx->hmtx, pmtx->fShared);228 __libc_Back_panic(0, NULL, "safesem mutex owner died: create mutex failed, rc=%d. pmtx=%p:{.hmtx=%x .fShared=%d}\n", 229 rc, (void *)pmtx, (unsigned)pmtx->hmtx, pmtx->fShared); 230 230 /* we race here. */ 231 231 if (__atomic_cmpxchg32((uint32_t volatile *)&pmtx->hmtx, (uint32_t)hmtx, (uint32_t)hmtxNew)) … … 238 238 } 239 239 else 240 __libc_Back_panic(0, NULL, "safesem mutex requested failed, rc=%d. pmtx=%p:{.hmtx=% #lx .fShared=%d}\n",241 rc, (void *)pmtx, pmtx->hmtx, pmtx->fShared);240 __libc_Back_panic(0, NULL, "safesem mutex requested failed, rc=%d. pmtx=%p:{.hmtx=%x .fShared=%d}\n", 241 rc, (void *)pmtx, (unsigned)pmtx->hmtx, pmtx->fShared); 242 242 243 243 /* … … 245 245 */ 246 246 if (msSleep <= 1) 247 __libc_Back_panic(0, NULL, "safesem mutex timeout, %u ms: pmtx=%p:{.hmtx=% #lx .fShared=%d}\n",248 fibGetMsCount() - msStart, (void *)pmtx, pmtx->hmtx, pmtx->fShared);247 __libc_Back_panic(0, NULL, "safesem mutex timeout, %u ms: pmtx=%p:{.hmtx=%x .fShared=%d}\n", 248 fibGetMsCount() - msStart, (void *)pmtx, (unsigned)pmtx->hmtx, pmtx->fShared); 249 249 msSleep = fibGetMsCount() - msStart; 250 250 if (msSleep < 30*1000) … … 283 283 rc = DosReleaseMutexSem(pmtx->hmtx); 284 284 if (__predict_false(rc != NO_ERROR)) 285 __libc_Back_panic(0, NULL, "safesem mutex release failed, rc=%d. pmtx=%p:{.hmtx=% #lx .fShared=%d}\n",286 rc, (void *)pmtx, pmtx->hmtx, pmtx->fShared);285 __libc_Back_panic(0, NULL, "safesem mutex release failed, rc=%d. pmtx=%p:{.hmtx=%x .fShared=%d}\n", 286 rc, (void *)pmtx, (unsigned)pmtx->hmtx, pmtx->fShared); 287 287 288 288 DosExitMustComplete(&ul); -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.