From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,c901133e3f78f6c9 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-10-28 18:47:04 PST Newsgroups: comp.unix.osf.misc Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!gatech!swrinde!news.uh.edu!uuneo.neosoft.com!jabberwock!daniels From: daniels@biles.com (Brad Daniels) Subject: Re: HELP: Question on DCE Threads References: Organization: Biles and Associates Date: Fri, 28 Oct 1994 17:24:07 GMT Message-ID: In article , Pramod Kalapa wrote: ... > The creation routine >returns 0, which I assume is the valid value for a successful creation. >However, the thread doesn't enter the function "open_file". I've stepped >through the code with dbx and it just exits out of main. I've linked >with the thread-safe library libc_r.a >Can someone please e-mail me as to what I might be doing wrong ? >I am using DCE 1.2 threads on AIX 3.2.5 on an IBM PowerPC. It sounds like you need to either use pthread_join to join with the thread or do something else to make sure you don't exit before the thread does its work. - Brad ------------------------------------------------------------------ + Brad Daniels | "For all men would be cowards + + Biles and Associates | if they durst." + + My views, not B&A's | - John Wilmot, Earl of Rochester + ------------------------------------------------------------------