For Programmers: Free Programming Magazines  


Home > Archive > ithreads > July 2006 > STATUS_CURRENT for threads under MSWin32









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author STATUS_CURRENT for threads under MSWin32
Jerry D. Hedden

2006-07-20, 7:06 pm

I'm having one last little problem with the thread exit
changes.

When a thread uses 'exit(status)', the threads.xs code gets
the exit code using STATUS_CURRENT. Under Unix and Cygwin,
this works. However, under MSWin32, STATUS_CURRENT is
always 0.

Is this a bug, or am I trying to use the wrong thing?

(If needed, email me directly for a copy of the module.)


Jerry D. Hedden

2006-07-20, 7:06 pm

Please disregard. The problem is with run_perl in test.pl and not with
STATUS_CURRENT. Sorry.

Jerry D. Hedden wrote:
> I'm having one last little problem with the thread exit
> changes.
>
> When a thread uses 'exit(status)', the threads.xs code gets
> the exit code using STATUS_CURRENT. Under Unix and Cygwin,
> this works. However, under MSWin32, STATUS_CURRENT is
> always 0.
>
> Is this a bug, or am I trying to use the wrong thing?


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com