[464] in Pthreads mailing list archive

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

Re: shared ELF libpthread for Linux

daemon@ATHENA.MIT.EDU (Tristan Savatier)
Mon Oct 21 18:54:09 1996

Date: Mon, 21 Oct 1996 13:16:57 -0700
From: Tristan Savatier <tristan@creative.net>
To: proven@MIT.EDU, pthreads@MIT.EDU

Dear Chris,

> Am I correct to assume that the machdep_sys_readv and
> machdep_sys_writev should be removed from readv.c and writev.c,
> and that the correct version for those routines is in
> machdep.c ?

Hum... my asumption does not seem right.

In readv.c, the only function defined is machdep_sys_readv(), and
it is defined only "ifndef HAVE_SYSCALL_READV".

On the other hand machdep.c seems to be designed for overriding
the "standard" machdep_sys_readv() defined in readv.c by a custom
machine-dependent version.

So, I suppose that a workaround is to manually define
the flags HAVE_SYSCALL_READV and HAVE_SYSCALL_WRITEV,
even though readv and writev are not really
system calls, but rather custom-defined in machdep.c.

Am I correct ?


 
Regards,

-- Tristan Savatier (mailto:tristan@mpeg.org - http://www.mpeg.org)
   "My karma ran over my dogma"

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