jerry hedden drbcqzxlcpanorg dean arnold wrote chance threadsshared chaining lockhook destroyhook ie saving current funcptr assigning checking sv shared hook functions get called forwarding sv isnt shared ive meaning put together patch may needed core always sets threadsshared 1st case module wants hook dont know hooking order beforehand might useful note doesnt require core changes threadsshared changes core perl pl_lockhook pl_destroyhook set stubs essentially nothing pl_lockhook calling lockvar nothing threadsshared loaded threadsshared loaded lockvar nonshared variable croaks chaining youre suggesting nothing else chain later would change ie reverts former case another module wants chain ordering might become issue another pl_ hook variable chaining could investigate example might work thu 07 aug 2008 122506 0500 chaining pl_ hooks