Changeset 1460 for trunk/dll/strutil.c
- Timestamp:
- Sep 19, 2009, 11:11:12 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/strutil.c
r1394 r1460 13 13 05 Jan 08 SHL Rename from string.c to avoid string.h conflict 14 14 03 Feb 09 SHL Switch to STRINGTABLE and const return 15 19 Sep 09 GKY Make GetPString more SMP safe 15 16 16 17 ***********************************************************************/ … … 97 98 // SMPSafeInc(); 98 99 for (c = 0; ; c++) { 99 if ( ++cBusy == 1)100 if (SMPSafeInc(), cBusy == 1) 100 101 break; 101 cBusy--;102 SMPSafeDec(); 102 103 // Hold off 1 cycle before reporting since some contention expected 103 104 if (c == 1)
Note:
See TracChangeset
for help on using the changeset viewer.