From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 17 Oct 2006 20:39:16 -0400 From: ISHWAR RATTAN To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] plan9port: threadid() etc. In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Topicbox-Message-UUID: cbaf0c44-ead1-11e9-9d60-3106f5b1d025 On Tue, 17 Oct 2006, Russ Cox wrote: > If you are talking about the port to Unix: > Threadid exists. Threadpid does not, For threadid(), the compiler 9c complainsabout implicit declaration of threadid(), so, I checked in the header file there is no prototype for threadid() and linker can't find it. I did include .. -ishwar > because it does not make sense > (multiple procs might share the same pid, > so using the pid to identify a proc is a > road to disaster). > > Russ >