mutex 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // <mutex> -*- C++ -*-
  2. /*! ========================================================================
  3. ** Extended Template and Library
  4. ** Mutex Classes
  5. ** $Id$
  6. **
  7. ** Copyright (c) 2008 Chris Moore
  8. **
  9. ** This package is free software; you can redistribute it and/or
  10. ** modify it under the terms of the GNU General Public License as
  11. ** published by the Free Software Foundation; either version 2 of
  12. ** the License, or (at your option) any later version.
  13. **
  14. ** This package is distributed in the hope that it will be useful,
  15. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. ** General Public License for more details.
  18. **
  19. ** === N O T E S ===========================================================
  20. **
  21. ** ========================================================================= */
  22. /* === S T A R T =========================================================== */
  23. #ifndef __ETL__MUTEX__
  24. #define __ETL__MUTEX__
  25. /* === H E A D E R S ======================================================= */
  26. #include "etl_config.h"
  27. #ifdef HAVE_LIBPTHREAD
  28. # include "_mutex_pthreads_simple.h"
  29. #else
  30. #ifdef _WIN32
  31. # include "_mutex_win32.h"
  32. #endif
  33. #endif
  34. /* === E N D =============================================================== */
  35. #endif