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.
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to