Changeset 13836 in vbox for trunk/src/VBox/Runtime/common/misc/thread.cpp
- Timestamp:
- Nov 5, 2008 2:42:54 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/thread.cpp
r11596 r13836 721 721 722 722 /** 723 * Create a new thread. 724 * 723 * Create a new thread. 724 * 725 725 * Same as RTThreadCreate except the name is given in the RTStrPrintfV form. 726 726 * … … 745 745 746 746 /** 747 * Create a new thread. 748 * 747 * Create a new thread. 748 * 749 749 * Same as RTThreadCreate except the name is given in the RTStrPrintf form. 750 750 * … … 1382 1382 if (iEntry && pCur == pThread) 1383 1383 break; 1384 for (unsigned i = 0; i < ELEMENTS(apSeenThreads); i++)1384 for (unsigned i = 0; i < RT_ELEMENTS(apSeenThreads); i++) 1385 1385 if (apSeenThreads[i] == pCur) 1386 1386 { … … 1393 1393 * Advance to the next thread. 1394 1394 */ 1395 iSeenThread = (iSeenThread + 1) % ELEMENTS(apSeenThreads);1395 iSeenThread = (iSeenThread + 1) % RT_ELEMENTS(apSeenThreads); 1396 1396 apSeenThreads[iSeenThread] = pCur; 1397 1397 pCur = pNext;
Note:
See TracChangeset
for help on using the changeset viewer.