Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2002 10:26:11 -0500
From:      Daniel Eischen <eischen@vigrid.com>
To:        arch@freebsd.org
Subject:   What to do with userland *context() functions
Message-ID:  <3DD66393.40AFC73@vigrid.com>

next in thread | raw e-mail | index | archive | help
After adding *context() as system calls, we no longer
need the userland versions.  But I would like to use
them in libc_r and they might be useful to someone else
writing their own userland threading library.  As of
now, we need different variants of them for libpthread,
so they aren't expected to be used there.

How do folks feel about keeping them in libc, but named
as _getctx, _setctx, _swapctx?  They would be similar
to _setjmp/_longjmp which don't save/restore the signal
mask.  It'll add a little bloat to libc and they are
only present for i386 and alpha archs.

I'll have them repo-copied to libc_r if the consensus is
to remove them from libc.

-- 
Dan Eischen

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DD66393.40AFC73>