[156] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

Re: An idea for pthreads

daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Oct 25 14:53:49 1995

To: David Wragg <dpw93@ecs.soton.ac.uk>
Cc: pthreads@MIT.EDU
In-Reply-To: Your message of "Wed, 25 Oct 1995 16:31:48 BST."
             <1874.199510251531@romeo.ecs.soton.ac.uk.ecs.soton.ac.uk> 
Date: Wed, 25 Oct 1995 14:25:59 EDT
From: Greg Hudson <ghudson@MIT.EDU>

> % ld -r -o syscalls.o -u <list of system call symbols ie _write etc>
> /usr/lib/libc.a

The C library system call routines set the global errno value, which
isn't appropriate for a threaded program.  There's no way to get at
"just the system call" inside the C library, so the assembly code
really is necessary.


home help back first fref pref prev next nref lref last post