threadImpl.h 865 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /**
  2. * PANDA 3D SOFTWARE
  3. * Copyright (c) Carnegie Mellon University. All rights reserved.
  4. *
  5. * All use of this software is subject to the terms of the revised BSD
  6. * license. You should have received a copy of this license along
  7. * with this source code in a file named "LICENSE."
  8. *
  9. * @file threadImpl.h
  10. * @author drose
  11. * @date 2002-08-09
  12. */
  13. #ifndef THREADIMPL_H
  14. #define THREADIMPL_H
  15. #include "pandabase.h"
  16. #include "selectThreadImpl.h"
  17. #if defined(THREAD_DUMMY_IMPL)
  18. #include "threadDummyImpl.h"
  19. typedef ThreadDummyImpl ThreadImpl;
  20. #elif defined(THREAD_SIMPLE_IMPL)
  21. #include "threadSimpleImpl.h"
  22. typedef ThreadSimpleImpl ThreadImpl;
  23. #elif defined(THREAD_WIN32_IMPL)
  24. #include "threadWin32Impl.h"
  25. typedef ThreadWin32Impl ThreadImpl;
  26. #elif defined(THREAD_POSIX_IMPL)
  27. #include "threadPosixImpl.h"
  28. typedef ThreadPosixImpl ThreadImpl;
  29. #endif
  30. #endif