Date: Wed, 05 Aug 1998 12:17:48 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Terry Lambert <tlambert@primenet.com> Cc: doconnor@gsoft.com.au (Daniel O'Connor), dag-erli@ifi.uio.no, kaleb@ics.com, hackers@FreeBSD.ORG Subject: Re: Threaded X libs.. Message-ID: <199808050247.MAA12918@cain.gsoft.com.au> In-Reply-To: Your message of "Wed, 05 Aug 1998 02:24:53 GMT." <199808050224.TAA02476@usr02.primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Hmm.. where could I find information on Draft xx standard? It would > > be nice to have a yardstick to measure the implementation by :) > Join a POSIX committee. 8-). Oh yes :) > The information is available in the O'Reilly Pthreads book, which has > a section on the differences between the standard and Draft 4. Aha.. Hmm.. might be an intersting read.. I wonder if my student card still works at uni =) > If FreeBSD is not full Standard, than this code will now break; the > PTHREAD_MUTEX_INITIALIZER (and the attr argument to pthread_create) > should have been the last things changes when Standard compliance > became reality). 8-(. Doh :-/ Oh well, it just means that we'll have to get around to implementing it all ;) > > I got the patched MIT threads library which has more of the standard > > implemented.. Now to rebuild XFree86 against it (urgh..) > Bad plan. The default FreeBSD libc is not threads safe for user space > threads. This means that the code will appear to work, but won't really > work. The FreeBSD libc_r overrides system call definitions, as well, > instead of merely adding pthreads functions. Yes, but I thought the whole point of the MIT pthreads package was that it overrides the system calls which aren't thread safe, with threadable wrappers. --------------------------------------------------------------------- |Daniel O'Connor software and network engineer for Genesis Software | |http://www.gsoft.com.au | |The nice thing about standards is that there are so many of them to| |choose from. -- Andrew Tanenbaum | --------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808050247.MAA12918>