File: Mutex.cpp

package info (click to toggle)
skypat 3.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 664 kB
  • sloc: cpp: 2,545; makefile: 220; ansic: 78; sh: 67
file content (21 lines) | stat: -rw-r--r-- 630 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//===- Mutex.cpp ----------------------------------------------------------===//
//
//                              The SkyPat team 
//
// This file is distributed under the New BSD License.
// See LICENSE for details.
//
//===----------------------------------------------------------------------===//
#include <skypat/Thread/Mutex.h>
#include <skypat/Thread/MutexImpl.h>
#include <skypat/Config/Config.h>

using namespace skypat;

// Include the truly platform-specific parts.
// *.inc defines MutexData and platform-specific mutex.
#if defined(HAVE_PTHREAD)
#include "Pthread/Mutex.inc"
#else
#include "Quick/Mutex.inc"
#endif