This commit is contained in:
Bob Halley
1998-08-18 08:05:45 +00:00
parent e7b7e6e746
commit d6da3b9e10
5 changed files with 48 additions and 19 deletions

View File

@@ -22,7 +22,7 @@ typedef pthread_cond_t os_condition_t;
#else
Error! Condition variables are not meaningful for a non-threaded program.
#error Condition variables are not meaningful for a non-threaded program.
#endif

View File

@@ -14,6 +14,10 @@ typedef pthread_t os_thread_t;
== 0)
#define os_thread_detach(t) INSIST(pthread_detach((t)) == 0)
#else
#error Threads are not meaningful for a non-threaded program.
#endif
#endif /* THREAD_H */