Changeset 12324 in vbox for trunk/include
- Timestamp:
- Sep 10, 2008 5:18:38 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 36345
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmthread.h
r8155 r12324 35 35 #ifdef IN_RING3 36 36 # include <iprt/thread.h> 37 #endif 37 #endif 38 38 39 39 __BEGIN_DECLS … … 286 286 /** 287 287 * Creates a PDM thread for internal use in the VM. 288 * 289 * @returns VBox status code. 290 * @param pVM The VM handle. 288 * 289 * @returns VBox status code. 290 * @param pVM The VM handle. 291 291 * @param ppThread Where to store the thread 'handle'. 292 292 * @param pvUser The user argument to the thread function. … … 303 303 /** 304 304 * Creates a PDM thread for VM use by some external party. 305 * 306 * @returns VBox status code. 307 * @param pVM The VM handle. 305 * 306 * @returns VBox status code. 307 * @param pVM The VM handle. 308 308 * @param ppThread Where to store the thread 'handle'. 309 309 * @param pvUser The user argument to the thread function. … … 360 360 361 361 /** 362 * Called by the PDM thread instead of RTThreadSleep. 363 * 364 * The difference is that the sleep will be interrupted on state change. The 365 * thread must be in the running state, otherwise it will return immediately. 366 * 367 * @returns VBox status code. 368 * @retval VINF_SUCCESS on success or state change. 369 * @retval VERR_INTERRUPTED on signal or APC. 370 * 371 * @param pThread The PDM thread. 372 * @param cMillies The number of milliseconds to sleep. 373 */ 374 PDMR3DECL(int) PDMR3ThreadSleep(PPDMTHREAD pThread, unsigned cMillies); 375 376 /** 362 377 * Suspends the thread. 363 378 *
Note:
See TracChangeset
for help on using the changeset viewer.