(Illustration by Gaich Muramatsu)
> This would be quite a bit of work, but the results would be quite good -- > especially if in the future there are ports to Java, etc, where threads > are more common-place than present-day UNIX. Funny. I see Pthreads as being "already everywhere". These are the platforms that I know of that come with Pthreads, including thread-safe libraries: Solaris 2.5 and beyond AIX 4.1 and beyond HP-UX 10 Digital Unix Linux (at least Redhat since 5.0, and Suse, Caldera, Etc) FreeBSD 3.0 IRIX 6.x VMS The laggards include: SCO UnixWare, Sequent's Dynix, Windows NT, etc Java has even greater problems with threads... JDK ships with a user-space threads package called "Green Threads". Folks who use "Green Threads" and then attempt to code Java Native Method extensions that use other thread packages (i.e. Pthreads) are often in for big surprises. Only recently have JDK people gone and ported to Native platform threads. The first was Sun (to Solaris pthreads), second was OSF, who has ported JDK to use Linux Pthreads instead of "Green Threads" -- Jim +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Jim Doyle Boston University Information Technology Systems Analyst/Programmer email: jrd_at_bu.edu Distributed Systems http://www.bu.edu/~jrd/ tel. (617)-353-8248 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++--+-+-+-+-+-+-Received on 1998-07-26 21:20:15