Threading system calls (int 80h)

David Xu davidxu at freebsd.org
Sat Oct 14 16:32:14 PDT 2006


On Saturday 14 October 2006 21: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.

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.

David Xu


More information about the freebsd-hackers mailing list