Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Oct 2006 09:31:44 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Ekkehard Morgenstern <ekkehard.morgenstern@onlinehome.de>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Threading system calls (int 80h)
Message-ID:  <200610150931.44220.davidxu@freebsd.org>
In-Reply-To: <200610150326.03279.ekkehard.morgenstern@onlinehome.de>
References:  <200610141540.09999.ekkehard.morgenstern@onlinehome.de> <200610150732.06291.davidxu@freebsd.org> <200610150326.03279.ekkehard.morgenstern@onlinehome.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 15 October 2006 09:26, Ekkehard Morgenstern wrote:
> On Sunday 15 October 2006 01:32, David Xu wrote:
> > You are going to be unable to use libc if you create raw thread in your
> > program, libc uses pthread APIs, if you create a raw thread, your
> > program will crash if you use any libc function which needs pthread
> > interface.
>
> I don't want to link to libc. So, how do I create a raw thread?

You can use KSE syscalls or THR syscalls, for KSE syscalls you
should use bound thread, otherwise you have to support
UPCALLS and other complex things. 

David Xu




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610150931.44220.davidxu>