diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-05-11 20:17:30 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-05-11 20:17:30 +0000 |
commit | 15a5279aa74a37f0ad0b3fa3f9e566cb2d7a9d9a (patch) | |
tree | 97a9ecf94514fc664416eb326534f138f4e423be /sv.c | |
parent | 815f25c6e302f84ecce02c74fa717a19d787f662 (diff) | |
download | perl-15a5279aa74a37f0ad0b3fa3f9e566cb2d7a9d9a.tar.gz |
Move the thread *hook into interpreter.
p4raw-id: //depot/perl@19497
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -11217,6 +11217,12 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, * but do it for consistency's sake. */ PL_reentrant_retint = proto_perl->Ireentrant_retint; + /* Hooks to shared SVs and locks. */ + PL_sharehook = proto_perl->Isharehook; + PL_lockhook = proto_perl->Ilockhook; + PL_unlockhook = proto_perl->Iunlockhook; + PL_threadhook = proto_perl->Ithreadhook; + /* swatch cache */ PL_last_swash_hv = Nullhv; /* reinits on demand */ PL_last_swash_klen = 0; |