From: reguera@nospam.zko.dec.com
Subject: Re: pthread_kill problem?????
Date: Mon, 13 Oct 2003 14:49:31 GMT [thread overview]
Message-ID: <shelovgdc1jgntt530iv9un1baoquck68p@4ax.com> (raw)
In-Reply-To: vo69mvgn3t5973@corp.supernews.com
Hi Ron.
We haven't seen this particular problem before. It is a possibility
that the thread in question did recieve an abort() that was generated
from a seperate issue.
Could you forward the core to me via anonymous ftp:
xfer.service.digital.com (192.208.35.20)
cd to_digitial
put file_name.
this is a blind ftp site. Please let me know when you have it there
@ reguera@nospam.zko.dec.com (remove nospam)
I will download it it and review what we have.
thanks
John Reguera
On Tue, 07 Oct 2003 20:49:35 -0000, "Ron Harter" <rharter@ev1.net>
wrote:
>
>We are using pthread_kill(threadId, 0) to determine if a particular thread
>id is valid. We are running into a situation where the thread id (thread
>has been terminated and joined)
>is 0 and the program is getting an abort and core dumping.
>
>According to the documentation we should get back an ESRCH error, the program
>should not core dump.
>
>Has anyone else experinced problems in this area? WE are running Tru64 5.1b
>The task in question has approximatly 2000 threads
>and the kernal parameters are set to allow a max of 4096 threads.
>
>We have written a test driver that creates a dozen or so threads and checks
>them using pthread_kill(threadId, 0) with no problem, even after the thread
>exits and is joined so the threadId is 0. In this case a ESRCH is returned.
>
>Any out there have any ideas or suggestions???????
>
>Thanks in advance
>
>Ron Harter
prev parent reply other threads:[~2003-10-13 14:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-07 20:49 pthread_kill problem????? Ron Harter
2003-10-09 13:58 ` Andrew Duane USG
2003-10-09 18:51 ` Ron Harter
2003-10-14 13:04 ` David Butenhof
2003-10-13 14:49 ` reguera [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox