Changeset 101982 in vbox for trunk/src/libs/xpcom18a4/xpcom/tests
- Timestamp:
- Nov 8, 2023 3:04:09 PM (18 months ago)
- svn:sync-xref-src-repo-rev:
- 160079
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/tests/TestThreads.cpp
r101895 r101982 44 44 #include "nsIServiceManager.h" 45 45 46 #include <iprt/thread.h> 47 46 48 class nsRunner : public nsIRunnable { 47 49 public: … … 59 61 // if we don't do something slow, we'll never see the other 60 62 // worker threads run 61 PR_Sleep(PR_MillisecondsToInterval(100));63 RTThreadSleep(100); 62 64 63 65 return rv; … … 126 128 } 127 129 128 PR_Sleep(PR_MillisecondsToInterval(100)); // hopefully the runner will quit here130 RTThreadSleep(100); // hopefully the runner will quit here 129 131 130 132 return NS_OK;
Note:
See TracChangeset
for help on using the changeset viewer.