Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
594 B

  1. #ifndef _SCHEDULE_H
  2. #define _SCHEDULE_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. void CShellTaskScheduler_CreateThreadPool( void );
  7. void CShellTaskScheduler_FreeThreadPool( void );
  8. // global function for allocating a task scheduler.
  9. // any object that uses it must make sure that its tasks are removed from the queue
  10. // before it exits.
  11. HRESULT SHGetSystemScheduler( LPSHELLTASKSCHEDULER * ppScheduler );
  12. HRESULT SHFreeSystemScheduler( void );
  13. #ifdef DEBUG
  14. VOID SHValidateEmptySystemScheduler(void);
  15. #else
  16. #define SHValidateEmptySystemScheduler()
  17. #endif
  18. #ifdef __cplusplus
  19. };
  20. #endif
  21. #endif