diff options
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/src/thread.c b/src/thread.c index 4c6b6543c84..59845b6524f 100644 --- a/src/thread.c +++ b/src/thread.c | |||
| @@ -937,24 +937,29 @@ init_threads (void) | |||
| 937 | void | 937 | void |
| 938 | syms_of_threads (void) | 938 | syms_of_threads (void) |
| 939 | { | 939 | { |
| 940 | defsubr (&Sthread_yield); | 940 | #ifndef THREADS_ENABLED |
| 941 | defsubr (&Smake_thread); | 941 | if (0) |
| 942 | defsubr (&Scurrent_thread); | 942 | #endif |
| 943 | defsubr (&Sthread_name); | 943 | { |
| 944 | defsubr (&Sthread_signal); | 944 | defsubr (&Sthread_yield); |
| 945 | defsubr (&Sthread_alive_p); | 945 | defsubr (&Smake_thread); |
| 946 | defsubr (&Sthread_join); | 946 | defsubr (&Scurrent_thread); |
| 947 | defsubr (&Sthread_blocker); | 947 | defsubr (&Sthread_name); |
| 948 | defsubr (&Sall_threads); | 948 | defsubr (&Sthread_signal); |
| 949 | defsubr (&Smake_mutex); | 949 | defsubr (&Sthread_alive_p); |
| 950 | defsubr (&Smutex_lock); | 950 | defsubr (&Sthread_join); |
| 951 | defsubr (&Smutex_unlock); | 951 | defsubr (&Sthread_blocker); |
| 952 | defsubr (&Smutex_name); | 952 | defsubr (&Sall_threads); |
| 953 | defsubr (&Smake_condition_variable); | 953 | defsubr (&Smake_mutex); |
| 954 | defsubr (&Scondition_wait); | 954 | defsubr (&Smutex_lock); |
| 955 | defsubr (&Scondition_notify); | 955 | defsubr (&Smutex_unlock); |
| 956 | defsubr (&Scondition_mutex); | 956 | defsubr (&Smutex_name); |
| 957 | defsubr (&Scondition_name); | 957 | defsubr (&Smake_condition_variable); |
| 958 | defsubr (&Scondition_wait); | ||
| 959 | defsubr (&Scondition_notify); | ||
| 960 | defsubr (&Scondition_mutex); | ||
| 961 | defsubr (&Scondition_name); | ||
| 962 | } | ||
| 958 | 963 | ||
| 959 | Qthreadp = intern_c_string ("threadp"); | 964 | Qthreadp = intern_c_string ("threadp"); |
| 960 | staticpro (&Qthreadp); | 965 | staticpro (&Qthreadp); |