vbox的更動 21536 路徑 trunk/include/iprt/thread.h
- 時間撮記:
- 2009-7-13 下午02:49:39 (15 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/include/iprt/thread.h
r20374 r21536 432 432 * Check if preemption is currently enabled or not for the current thread. 433 433 * 434 * @note This may return true even on systems where preemption isn't 435 * possible. In that case, it means no call to RTThreadPreemptDisable 436 * has been made and interrupts are still enabled. 437 * 434 438 * @returns true if preemtion is enabled, false if preemetion is disabled. 435 * @param hThreadMust be NIL_RTTHREAD for now.439 * @param hThread Must be NIL_RTTHREAD for now. 436 440 */ 437 441 RTDECL(bool) RTThreadPreemptIsEnabled(RTTHREAD hThread); … … 451 455 * Is RTThreadPreemptIsPending reliable? 452 456 * 453 * @returns true if pending, false if not.457 * @returns true if reliable, false if not. 454 458 */ 455 459 RTDECL(bool) RTThreadPreemptIsPendingTrusty(void); 460 461 /** 462 * Is preemption possible on this system. 463 * 464 * @returns true if possible, false if not. 465 */ 466 RTDECL(bool) RTThreadPreemptIsPossible(void); 456 467 457 468 /** … … 495 506 RTDECL(void) RTThreadPreemptRestore(PRTTHREADPREEMPTSTATE pState); 496 507 508 /** 509 * Check if the thread is executing in interrupt context. 510 * 511 * @returns true if in interrupt context, false if not. 512 * @param hThread Must be NIL_RTTHREAD for now. 513 */ 514 RTDECL(bool) RTThreadIsInInterrupt(RTTHREAD hThread); 515 497 516 #endif /* IN_RING0 */ 498 517
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器