Washburn, Frederick wrote:
> Hi Folks,
>
> I don’t seem to be able to get any kind of signaling to work on 5.8.8
> build 820.
There are no signals in Win32 if that's what we're talking about. AS has
implemented a pseudo signal mechanism that can be blocked on wait mode IO
and therefore is hardly reliable. Personally I wouldn't even attempt to
use signals of any sort other than maybe attempting cleanup on Ctrl-C abort.
> Has anyone else ran into a similar situation? If so did you find a work
> around?
>
> I have tried
>
> Kill “INT”, $pid;
It would be: kill 'INT', $pid; kill is case sensitive.
Where did you get $pid from - what mechanism ?
What is the $pid process doing when you kill it ? Is it blocked ?
Where is some actual test code that shows the problem ?
I just attempted a similar test and it killed the process OK - note that
the other process wasn't doing any blocking IO and also not that was
on 811 not 820, but if you have failing 820 test code I'd be glad to help
verify it fails (or not) on 811.
> The target process never makes it into the $SIG{INT} handler when this
> is done. Manually entering CTRL-C works as expected and does get into
> the signal handler.
That implies that the target process has a console, but not much else
and Ctrl-C doesn't really use signals on Windoze.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs