BsThreadPolicy.h 371 B

123456789101112131415161718
  1. #pragma once
  2. #include "CmPrerequisites.h"
  3. #include "CmProfiler.h"
  4. namespace BansheeEngine
  5. {
  6. /**
  7. * @brief Banshee thread policy that performs special startup/shutdown on threads
  8. * managed by thread pool.
  9. */
  10. class CM_EXPORT ThreadBansheePolicy
  11. {
  12. public:
  13. static void onThreadStarted(const String& name);
  14. static void onThreadEnded(const String& name);
  15. };
  16. }