This is the mail archive of the
mailing list for the pthreas-win32 project.
RE: pthread_join returned status
- From: "Bossom, John" <John dot Bossom at Cognos dot COM>
- To: 'Wayne Xin' <wxin1 at yahoo dot com>, pthreads-win32 at sources dot redhat dot com
- Date: Thu, 13 Jun 2002 13:04:28 -0400
- Subject: RE: pthread_join returned status
This is your own coding failure... you are returning the address of
a variable on the stack!
From: Wayne Xin [mailto:firstname.lastname@example.org]
Sent: June 13, 2002 12:17 PM
Subject: pthread_join returned status
Win2k is complaining about my memory access violation
when I try to get the status returned from
pthread_join(tid, (void**) &status);
result = *status; <-- this line seems causing problem
At the other end, I always put a status at
int status = 3;
Did anybody see similar problem?
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
This message may contain privileged and/or confidential information. If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so. Thank you.