Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 1998 15:40:58 -0500 (EST)
From:      Daniel Eischen <eischen@vigrid.com>
To:        eischen@vigrid.com, lists@tar.com
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: pthread_cancel() function...
Message-ID:  <199812022040.PAA00664@pcnet1.pcnet.com>

next in thread | raw e-mail | index | archive | help
> Sure.  That was what I thought I was proposing, except that
> instead of SYSCALL_xxx it would be _xxx (eg. _read) since
> that is how libc (not libc_r) is already setup.
>
> In the case of libc_r, you probably don't want to alias it
> to _thread_sys_xxx, since you probably want the wrappers for
> the blocking syscalls to be used in libc_r.  If you rename
> the uthread syscall wrappers from xxx to _xxx (eg. _read)
> and then implement xxx as a wrapper of _xxx that implements
> cancellation points, you'd be consistent.
> 
> As far as I can tell, to implement cancellation
> points, you have to wade through the libc code and make the
> change as you suggest, for each call.  Its not really "hard",
> just a tedious pain in the you know what.  That was really
> my only point.

OK, I guess we're in sync.  I'll talk to you offline when
I get back to cancellation.

Dan Eischen
eischen@vigrid.com

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?199812022040.PAA00664>