T
Thomas Jahns
I wish to make a background application I told to 'use threads;' also
react nicely to a SIGHUP (and reread configuration). perldoc perlthrtut
tells me not to mix signals and ithreads but the other aspects to
consider are as follows:
- I don't care for portability to Win32, pre-X MacOS, MVS or whatever
platforms may also provide a Perl implementation. I just need the
program to run on relatively modern Unices (i.e. pthreads and POSIX
sigaction will be available).
- perlthrtut also tells me 'use Thread;' will break real soon and isn't
so great to begin with, and Thread::Queue which my program already
uses is--surprise--not meant to work with Thread but threads anyway.
So I seek a description of signal semantics for the systems outlined
when using ithreads. Is there such documentation available? I searched
but apart from the Perl source couldn't find anything useful (not that I
didn't get many google hits, but what I got was either outdated or a
repetition of the message from perlthrtut).
Since the I really like the ease at which Perl allows me to write
programs for Unix/Linux I'd really hate to turn my program into ten
times the number of code lines of C.
Thomas Jahns
react nicely to a SIGHUP (and reread configuration). perldoc perlthrtut
tells me not to mix signals and ithreads but the other aspects to
consider are as follows:
- I don't care for portability to Win32, pre-X MacOS, MVS or whatever
platforms may also provide a Perl implementation. I just need the
program to run on relatively modern Unices (i.e. pthreads and POSIX
sigaction will be available).
- perlthrtut also tells me 'use Thread;' will break real soon and isn't
so great to begin with, and Thread::Queue which my program already
uses is--surprise--not meant to work with Thread but threads anyway.
So I seek a description of signal semantics for the systems outlined
when using ithreads. Is there such documentation available? I searched
but apart from the Perl source couldn't find anything useful (not that I
didn't get many google hits, but what I got was either outdated or a
repetition of the message from perlthrtut).
Since the I really like the ease at which Perl allows me to write
programs for Unix/Linux I'd really hate to turn my program into ten
times the number of code lines of C.
Thomas Jahns