Re: Trying to join an already exited pthread

2007-02-09 Thread youshi10
On Fri, 9 Feb 2007, Daniel Eischen wrote: On Thu, 8 Feb 2007, Garrett Cooper wrote: Actually, now that I think about it the calls I made with ps in the program are valid for Linux but not for FreeBSD (they're for getting thread listings). Hence error code 2. From intro(2): 2 ENOENT No

Re: Trying to join an already exited pthread

2007-02-08 Thread Daniel Eischen
On Thu, 8 Feb 2007, Garrett Cooper wrote: Actually, now that I think about it the calls I made with ps in the program are valid for Linux but not for FreeBSD (they're for getting thread listings). Hence error code 2. From intro(2): 2 ENOENT No such file or directory. A component of a s

Re: Trying to join an already exited pthread

2007-02-08 Thread Garrett Cooper
Garrett Cooper wrote: Garrett Cooper wrote: Garrett Cooper wrote: Garrett Cooper wrote: On Feb 7, 2007, at 1:51 PM, Steve Watt wrote: In <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: Just wondering: If I was to try and join a pthread that already exited, would there be an error message

Re: Trying to join an already exited pthread

2007-02-08 Thread Garrett Cooper
Garrett Cooper wrote: Garrett Cooper wrote: Garrett Cooper wrote: On Feb 7, 2007, at 1:51 PM, Steve Watt wrote: In <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: Just wondering: If I was to try and join a pthread that already exited, would there be an error message output and/or errno se

Re: Trying to join an already exited pthread

2007-02-08 Thread Garrett Cooper
Garrett Cooper wrote: On Feb 7, 2007, at 1:51 PM, Steve Watt wrote: In <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: Just wondering: If I was to try and join a pthread that already exited, would there be an error message output and/or errno set to an error value, or would a system hang?

Re: Trying to join an already exited pthread

2007-02-08 Thread Garrett Cooper
On Feb 7, 2007, at 1:51 PM, Steve Watt wrote: In <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: Just wondering: If I was to try and join a pthread that already exited, would there be an error message output and/or errno set to an error value, or would a system hang? Was the thread crea

Re: Trying to join an already exited pthread

2007-02-07 Thread Steve Watt
In <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: >Just wondering: > >If I was to try and join a pthread that already exited, would there be an error >message output and/or errno set to an error value, or would a system hang? Was the thread created with detach state set PTHREAD_CREATE_DETACHED o

Re: Trying to join an already exited pthread

2007-02-07 Thread Daniel Eischen
On Wed, 7 Feb 2007, [EMAIL PROTECTED] wrote: On Wed, 7 Feb 2007, Pietro Cerutti wrote: On 2/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Just wondering: If I was to try and join a pthread that already exited, would there be an error message output and/or errno set to an error value, o

Re: Trying to join an already exited pthread

2007-02-07 Thread youshi10
On Wed, 7 Feb 2007, Pietro Cerutti wrote: On 2/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Just wondering: If I was to try and join a pthread that already exited, would there be an error message output and/or errno set to an error value, or would a system hang? man pthread_join(3):

Re: Trying to join an already exited pthread

2007-02-07 Thread Pietro Cerutti
On 2/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Just wondering: If I was to try and join a pthread that already exited, would there be an error message output and/or errno set to an error value, or would a system hang? man pthread_join(3): ERRORS The pthread_join() function will

Trying to join an already exited pthread

2007-02-07 Thread youshi10
Just wondering: If I was to try and join a pthread that already exited, would there be an error message output and/or errno set to an error value, or would a system hang? It this variable on Unix OSes? -Garrett ___ freebsd-hackers@freebsd.org mailin