aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread.c
diff options
context:
space:
mode:
authorMichael Albinus2018-07-12 10:49:06 +0200
committerMichael Albinus2018-07-12 10:49:06 +0200
commit3744fda5fa92ed058a1eb636a7836759ae5ab06f (patch)
treef83d7a0ade7f138da5f4e03f1cccd2a23662bcc7 /src/thread.c
parentef9025f5bcfb996fbabf5869584e9143bbc81af4 (diff)
downloademacs-3744fda5fa92ed058a1eb636a7836759ae5ab06f.tar.gz
emacs-3744fda5fa92ed058a1eb636a7836759ae5ab06f.zip
Provide feature 'threads
* src/thread.c (syms_of_threads): Provide feature "threads". * test/src/thread-tests.el (top): Declare the functions. (all): Use (featurep 'threads) check.
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread.c b/src/thread.c
index 60902b252b4..04c2808e5c4 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -1068,6 +1068,8 @@ syms_of_threads (void)
1068 1068
1069 staticpro (&last_thread_error); 1069 staticpro (&last_thread_error);
1070 last_thread_error = Qnil; 1070 last_thread_error = Qnil;
1071
1072 Fprovide (intern_c_string ("threads"), Qnil);
1071 } 1073 }
1072 1074
1073 DEFSYM (Qthreadp, "threadp"); 1075 DEFSYM (Qthreadp, "threadp");