author | Sebastian Harl <sh@tokkee.org> | |
Tue, 13 Nov 2007 22:59:25 +0000 (23:59 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 14 Nov 2007 10:37:22 +0000 (11:37 +0100) | ||
commit | c4bc5aa6fe93b7113f649869d9bf3e9fd7b12ff2 | |
tree | 7fd0b7708bfe4ba7aa9a11f6223889131ab0be04 | tree | snapshot |
parent | 8897ce7778f1567e147aaa4bba3645abc47bba27 | commit | diff |
perl plugin: Added basic multi-threading support.
This patch maps each C thread, which accesses the perl plugin, to an
interpreter based Perl thread. The implementation has been inspired by Perl's
ithreads introduced in version 5.6.0 and should be compatible (as in: can be
used side-by-side) with it. You can use threads::shared to share data
structures between threads of either implementation.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
This patch maps each C thread, which accesses the perl plugin, to an
interpreter based Perl thread. The implementation has been inspired by Perl's
ithreads introduced in version 5.6.0 and should be compatible (as in: can be
used side-by-side) with it. You can use threads::shared to share data
structures between threads of either implementation.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
src/perl.c | diff | blob | history |