From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,c636cda4fa79bbaf,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-10-07 13:49:36 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Ron Harter" Newsgroups: comp.unix.tru64 Subject: pthread_kill problem????? Date: Tue, 07 Oct 2003 20:49:35 -0000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: Sender: "Ron Harter" Reply-To: "Ron Harter" X-User-Info: 206.109.159.11 206.109.159.11 rharter X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.unix.tru64:21 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