Re: Demo: multithreading

From: Michael Wojcik (mwojcik_at_newsguy.com)
Date: 05/25/04


Date: 24 May 2004 23:47:11 GMT


In article <217e491a.0405231912.35165f9@posting.google.com>, riplin@Azonic.co.nz (Richard) writes:
> robert.deletethis@wagner.net (Robert Wagner) wrote
>
> > I should have said 'The first Unix thread library was written by Sybase ...'
>
> They may well have written a library, but as a technique it was done
> in Unix well before the 'late 80s'. Whether they wrote the _first_
> library is not necessarily determinable. Perhaps many others wrote
> libraries but didn't tell you (or indeed anyone) about them.

The comp.os.research FAQ, in its section on the history of threading,
claims that Unix "lightweight" processes with shared address space
(ie preemptively-scheduled threads) "date[] back to the very late 70s
or early 80s, i.e. to the first `microkernels' (Thoth (precursor of
the V-kernel and QNX), Amoeba, Chorus, the RIG-Accent-Mach family,
etc)".[1] It doesn't mention thread library implementations, but I
think the safest thing to say is that it's not clear when threads were
introduced to Unix as a facility for normal user-mode programs (as
opposed to kernel tasks).

1. http://www.serpentine.com/~bos/os-faq/FAQ-1.html#The-history-of-threads

-- 
Michael Wojcik                  michael.wojcik@microfocus.com
The antics which have been drawn together in this book are huddled here
for mutual protection like sheep.  If they had half a wit apiece each
would bound off in many directions, to unsimplify the target.
 -- Walt Kelly


Relevant Pages

  • Re: [9fans] Standalone unix port of the original rc shell
    ... or whatever the right compiler is -- gcc isn't the only ... Unix has grown ridiculously long-winded in its old age. ... > me is, that all headers reside in $PLAN9/include, which ... libraries they need to be linked with. ...
    (comp.os.plan9)
  • Re: compile+link Fujitsu Linux
    ... just as Charles reported. ... In the late '90s POSIX became the Unix standard. ... LD_LIBRARY_PATH is used to load dynamic libraries at run time. ... can 'front end' the search path. ...
    (comp.lang.cobol)
  • Re: digital image processing... newbie help
    ... >Re-invent is a common negative sound-bite. ... And I was referring to Windows and calling windows... ... >than those writing libraries. ... >same threads about writing C in Forth, writing Unix in Forth, ...
    (comp.lang.forth)
  • Re: UNIX libraries in windows
    ... I need to find equivalent windows libraries for the following unix ... On Unix systems most of the system calls are implemented in the C library, ... On Windows, you can generally use Unix emulation systems such as Cygwin. ... Unfortunately sproc is not a Posix function. ...
    (comp.lang.c)
  • Re: Is this a good habit?
    ... C and quite a bit of most networking libraries based on the original BSD ... C and Unix ... this kind of mistake. ... since it was based on the original UNIX concept ...
    (comp.lang.c)