swapcontext() slow

Mike Frysinger vapier@gentoo.org
Thu Jan 21 17:48:00 GMT 2016


On 21 Jan 2016 12:24, Godmar Back wrote:
> On Thu, Jan 21, 2016 at 11:40 AM, Mike Frysinger <vapier@gentoo.org> wrote:
> > these functions are deprecated/dead -- they no longer exist in the latest
> > POSIX specification.  the preference would be to stop using them.  i think
> > we might consider dropping them in a future glibc version.
> 
> Interesting - what's replacing them, if anything?
> 
> Will there be any support infrastructure for portable user-level threading?

use pthreads.  there are usually implementations for whatever OS you
want.  at least more portable than the context functions.

> Do you have any background on why it was discarded? Lack of use? Not
> being able to achieve its design goals?

i do not.  the posix mailing lists / bug tracker are open though for
searching:
https://www.opengroup.org/austin/lists.html
http://austingroupbugs.net/
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-help/attachments/20160121/d67810a9/attachment.sig>


More information about the Libc-help mailing list