Leaked source code of windows server 2003
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.

37 lines
566 B

  1. #ifndef _THREAD_H_
  2. #define _THREAD_H_
  3. //
  4. // Constant declarations
  5. //
  6. //
  7. // Structure definitions
  8. //
  9. typedef struct _THREADFAULT
  10. {
  11. DWORD dwCallLevel;
  12. DWORD dwPrevBP;
  13. BPType prevBPType;
  14. PVOID pCallStackList;
  15. DWORD dwCallMarker;
  16. DWORD dwThreadId;
  17. struct _THREADFAULT *pNext;
  18. } THREADFAULT, *PTHREADFAULT;
  19. //
  20. // Function definitions
  21. //
  22. PVOID
  23. GetProfilerThreadData(VOID);
  24. VOID
  25. SetProfilerThreadData(PVOID pData);
  26. PTHREADFAULT
  27. AllocateProfilerThreadData(VOID);
  28. VOID
  29. InitializeThreadData(VOID);
  30. #endif //_THREAD_H_