Threading system calls (int 80h)

Ekkehard Morgenstern ekkehard.morgenstern at onlinehome.de
Sat Oct 14 09:06:10 PDT 2006


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"


More information about the freebsd-hackers mailing list