Introduced thr->threadsvp and THREADSV() for faster per-thread
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>
Mon, 2 Feb 1998 15:51:39 +0000 (15:51 +0000)
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>
Mon, 2 Feb 1998 15:51:39 +0000 (15:51 +0000)
commit940cb80d04d066d4fedfc4486ab57e435ee74514
tree29bcb5cc4d0e30eb584990d09b0ee5b2ad73cc49
parent5330fa38cab061dceb2210e65e8eccfafbebc694
Introduced thr->threadsvp and THREADSV() for faster per-thread
variables. Moved threadnum to a per-interpreter variable and
made dTHR and lock/unlock of sv_mutex bypass the get/lock unless
more than one thread may be running. Minor tweaks to Thread.xs.

p4raw-id: //depot/perl@453
15 files changed:
dosish.h
embedvar.h
ext/Thread/Thread.xs
interp.sym
intrpvar.h
op.c
perl.c
perl.h
pp.c
pp_ctl.c
scope.c
sv.c
thrdvar.h
thread.h
util.c