Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2006 18:04:39 +0200
From:      Ekkehard Morgenstern <ekkehard.morgenstern@onlinehome.de>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Threading system calls (int 80h)
Message-ID:  <200610141804.40105.ekkehard.morgenstern@onlinehome.de>
In-Reply-To: <200610141540.09999.ekkehard.morgenstern@onlinehome.de>
References:  <200610141540.09999.ekkehard.morgenstern@onlinehome.de>

next in thread | previous in thread | raw e-mail | index | archive | help

I can answer the question myself now:
	- manpages of interest are kse(2) and ucontext(3)
	- FreeBSD threading relies on external threading libraries,
	  such as libthr, libpthread.
	- hence, it's difficult to impossible to write an assembly language program
	  that creates threads using direct system calls.

So, I guess, I have to go with one of the threading libraries...

On Saturday 14 October 2006 15:40, Ekkehard Morgenstern wrote:
> Hi!
>
> Does anyone know how to use the threading system calls that are accessible
> via int 80h?
>
> I would like to support multithreading in an assembly language program
> without linking to any of the threading libraries.
>
> Is that possible?
>
> Best wishes,
> Ekkehard.
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"



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