Request for swapcontext and getcontext to be ported to our libc

Simon 'corecode' Schubert corecode at
Fri Jan 12 16:27:06 PST 2007

Matt Emmerton wrote:
I've toyed with it a bit, but there are some issues I'm not sure how to
solve (such as accessing curthread -- a kernel construct -- from userland).
I would welcome discussion with the person who suggested it (corecode?).
In which way do you have to access curthread?  That's a kernel-only entity, I don't think you have to access that in userland.  Besides, if we take in the system call version, there is no need for a pure libc based version anymore.

Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |      Against  HTML   \
Dude 2c 2 the max   !       Mail + News   / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00006.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <>

More information about the Users mailing list