tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ucontext
On Mon, Dec 14, 2009 at 10:51:46PM +0000, Sad Clouds wrote:
> Can anyone tell me what ucontext(2) and related functions can be used for?
> Reading man pages it seems to suggest that you can get and set threads
> context. Would this be similar to creating a new thread with pthread_create()?
You can use them to implement a 1:m thread library like FreeBSD's libc_r
as machine independent code.
Joerg
Home |
Main Index |
Thread Index |
Old Index