Code

perl plugin: Shut down an ithread if the embedding pthread terminates.
authorSebastian Harl <sh@tokkee.org>
Mon, 19 Nov 2007 23:20:25 +0000 (00:20 +0100)
committerFlorian Forster <octo@noris.net>
Tue, 20 Nov 2007 08:30:33 +0000 (08:30 +0000)
commitea476dd47a893d23b204ba0ef10f6c24bf33a8cb
treefac1dbf43e0560a4e63988891c18c0a494381b93
parent368a2bc5559829b5f4325301364790efeb9de236
perl plugin: Shut down an ithread if the embedding pthread terminates.

Each ithread object is registered as thread specific data along with a
destructor function. If the embedding pthread terminates the destructor is
called which takes care of cleanly shutting down the appropriate Perl
interpreter and freeing any related resources.
src/perl.c