aboutsummaryrefslogtreecommitdiff
path: root/SrcShared/omnithread/null_thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'SrcShared/omnithread/null_thread.h')
-rw-r--r--SrcShared/omnithread/null_thread.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/SrcShared/omnithread/null_thread.h b/SrcShared/omnithread/null_thread.h
new file mode 100644
index 0000000..86f38ea
--- /dev/null
+++ b/SrcShared/omnithread/null_thread.h
@@ -0,0 +1,40 @@
+// Package : omnithread
+// omnithread/nt.h Created : 6/95 tjr
+//
+// Copyright (C) 1995, 1996, 1997 Olivetti & Oracle Research Laboratory
+//
+// This file is part of the omnithread library
+//
+// The omnithread library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Library General Public
+// License as published by the Free Software Foundation; either
+// version 2 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Library General Public License for more details.
+//
+// You should have received a copy of the GNU Library General Public
+// License along with this library; if not, write to the Free
+// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+// 02111-1307, USA
+//
+//
+// OMNI thread implementation classes for NT threads.
+//
+
+#ifndef null_thread_h
+#define null_thread_h
+
+extern "C" void omni_thread_wrapper(void *ptr);
+
+#define OMNI_MUTEX_IMPLEMENTATION
+
+#define OMNI_CONDITION_IMPLEMENTATION
+
+#define OMNI_SEMAPHORE_IMPLEMENTATION
+
+#define OMNI_THREAD_IMPLEMENTATION
+
+#endif /* null_thread_h */