pike.git/
src/
threads.c
Branch:
Tag:
Non-build tags
All tags
No tags
2000-12-01
2000-12-01 12:39:46 by Martin Stjernholm <mast@lysator.liu.se>
cd6f7eb3132446f74f450d6425678d8e6e4e75e5 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Refer to Thread.Local and not thread_local in error messages.
Rev: src/threads.c:1.148
1:
#include "global.h"
-
RCSID("$Id: threads.c,v 1.
147
2000/12/01
08
:
09
:
55
hubbe
Exp $");
+
RCSID("$Id: threads.c,v 1.
148
2000/12/01
12
:
39
:
46
mast
Exp $");
PMOD_EXPORT int num_threads = 1; PMOD_EXPORT int threads_disabled = 0;
1161:
if(args>1) pop_n_elems(args-1); else if(args<1)
-
Pike_error("Too few arguments to
thread_local->
set()\n");
+
Pike_error("Too few arguments to
Thread.Local.
set()\n");
if(Pike_interpreter.thread_id == NULL)
-
Pike_error("Trying to set
thread_local
without thread!\n");
+
Pike_error("Trying to set
Thread.Local
without thread!\n");
if((m = OBJ2THREAD(Pike_interpreter.thread_id)->thread_local) == NULL) m = OBJ2THREAD(Pike_interpreter.thread_id)->thread_local =