| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
sv_setfoo functions go back to not needing dTHR. Fix Configure
to check for already-existing -thread on archname and to check
better for d_pthread_created_joinable.
p4raw-id: //depot/perl@356
|
|
|
|
|
|
|
|
|
|
|
|
| |
Split generated embed.h into two - new embedvar.h
is #included when 'op' etc. will not mess up proto.h etc.
Removed #define foo (thr->Tfoo) from thread.h
Added some 'missing' symbols to global.sym, removed
those in the *var*.h files
Has build all MULTIPLICITY/USE_THREADS options on win32
with VC++ (and passed tests), but not with exactly this set
of files.
p4raw-id: //depot/ansiperl@338
|
|
|
|
|
|
|
|
|
|
| |
- introduce perlvars.h intrpvar.h and thrdvar.h
- change perl.h and thread.h to include them with
appropriate macros defined
- result is status-quo but with macros
- next step is to tweak embed.* to capitalize on
new easy-to-find info.
p4raw-id: //depot/ansiperl@337
|
|
|
| |
p4raw-id: //depot/ansiperl@331
|
|
|
|
|
|
|
| |
pthread initial detach state, renaming perl_thread to perl_os_thread
and struct thread to struct perl_thread):
Subject: Re: _54 on AIX
p4raw-id: //depot/perl@290
|
|
|
| |
p4raw-id: //depot/perl@289
|
|
|
|
|
| |
*-linux-thread at the moment.
p4raw-id: //depot/perl@274
|
|\
| |
| |
| |
| | |
to reverse integrate the win32 branch into mainline.
p4raw-id: //depot/win32/perl@253
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
and die() and make join propagate the die. Add tiny method eval
which just does "return eval { shift->join; }". Add Thread::Specific
class for access to thread specific user data along with specific.t.
Rename Class to classname throughout Thread.xs for consistency.
Fix pp_specific to pp_threadsv in global.sym. Add support to
pp_entersub in pp_hot.c to lock stash for static locked methods.
p4raw-id: //depot/perl@248
|
| |
| |
| |
| |
| |
| |
| | |
to avoid the Digital UNIX clash no longer works). Changed the #ifdef
in pp_sys.c for whether getnet* function get protoyped (since the
default had a broken prototype for getnetbyaddr).
p4raw-id: //depot/perl@247
|
|\ \
| |/
| | |
p4raw-id: //depot/win32/perl@234
|
| |
| |
| | |
p4raw-id: //depot/perl@233
|
| |\
| | |
| | | |
p4raw-id: //depot/perl@230
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Root cause of fail was init_thread_intern() in
new_struct_thread() (which is called in parent thread)
clobbering dTHR of parent thread.
It is doubtfull if setting 'self' in new_struct_thread()
is 'right' but left in for now.
p4raw-id: //depot/ansiperl@213
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
repository, then import result back into my view
of Malcolm's repository.
Builds and passes (most) tests with GNU C++/Solaris
and Borland C++, Win32.
p4raw-id: //depot/ansiperl@210
|
| | |\
| | | |
| | | | |
p4raw-id: //depot/ansiperl@208
|
| | | |
| | | |
| | | | |
p4raw-id: //depot/ansiperl@203
|
| | | |
| | | |
| | | |
| | | |
| | | | |
but did not work
p4raw-id: //depot/ansiperl@202
|
| | |\ \
| | | | |
| | | | | |
p4raw-id: //depot/ansiperl@199
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
with gcc -x c++.
p4raw-id: //depot/ansiperl@196
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
thr->errsv for threaded perl). Fix pp_tie and pp_dbmopen to use
GvCV(gv) instead of gv so AUTOLOAD stuff works. All tests now pass
again for non-threaded perl. Enhanced perl_get_sv to return
per-thread magicals where necessary for threaded perl.
p4raw-id: //depot/perl@228
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
we were in the process of executing, and longjmp() to the topmost
one (if not already there). We use a null top_env->je_prev
to distinguish that now.
p4raw-id: //depot/win32/perl@223
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
into win32 branch.
p4raw-id: //depot/win32/perl@221
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
DIY pp_entersub (in preparation for AUTOLOAD change). dbmopen
not tested. ofslen now maps to thr->Tofslen in thread.h. Added
missing #ifdef USE_THREADS around some DEBU_L statements in die().
Building without USE_THREADS fails quite a lot of tests. It looks
as though the move to per-thread magicals must be missing some
#ifdef USE_THREADS.
p4raw-id: //depot/perl@209
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
more directly. cvcache and oursv become ordinary struct thread
fields instead of #defined thr->Tfoo ones. SvREFCNT_inc now checks
for 0 again. Main thread initialisation done by new function
init_main_thread instead of (now fixed) new_struct_thread.
p4raw-id: //depot/perl@205
|
| |/
|/|
| |
| |
| |
| | |
intermittent occasional "Use of uninitialized value" warnings
which may be due to some op flag black magic I've broken.
p4raw-id: //depot/perl@204
|
|/
|
|
|
|
| |
and the associated new OP_SPECIFIC and find_thread_magical stuff.
perl will compile but plenty of the magicals are still broken.
p4raw-id: //depot/perl@195
|
|
|
| |
p4raw-id: //depot/perl@190
|
|
|
|
|
| |
to use new API and patch win32 makefile stuff a little.
p4raw-id: //depot/perl@172
|
|
|
|
|
|
|
|
| |
Add per-interp thrsv to hold SV struct thread for main thread.
Move Thread.xs MUTEX_DESTROY from end of threadstart to remove_thread.
Add Thread/list.t test of Thread->list method.
Let Thread::Semaphore methods up and down take an extra argument.
p4raw-id: //depot/perl@140
|
|
|
|
|
| |
Fix ThrSETSTATE not to lock t->mutex itself.
p4raw-id: //depot/perl@130
|
|
|
| |
p4raw-id: //depot/perl@126
|
|
|
| |
p4raw-id: //depot/perl@125
|
|
|
|
|
|
| |
Still not completely done. Add methods self, equal, flags, list
to Thread.xs. Add Thread_MAGIC_SIGNATURE check to typemap.
p4raw-id: //depot/perl@120
|
|
|
|
|
|
| |
from struct thread. Added missing thr->Tfoo defines for statbuf
and timesbuf and removed unused Tbuf field.
p4raw-id: //depot/perl@106
|
|
|
| |
p4raw-id: //depot/perl@69
|
|
|
| |
p4raw-id: //depot/perl@66
|
|
|
|
|
| |
MUTEX_* stuff when malloc.c gets copied to x2p/malloc.c.
p4raw-id: //depot/perl@61
|
|
|
| |
p4raw-id: //depot/perl@44
|
|
|
|
|
| |
pp_lock now returns its argument.
p4raw-id: //depot/perl@41
|
|
|
| |
p4raw-id: //depot/perl@39
|
|
|
| |
p4raw-id: //depot/perl@34
|
|
|
| |
p4raw-id: //depot/perl@27
|
|
|
|
|
| |
Added support for detached threads and tweaked a few things.
p4raw-id: //depot/thrperl@8
|
|
p4raw-id: //depot/thrperl@4
|