Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Oct 2006 07:32:06 +0800
From:      David Xu <davidxu@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        Ekkehard Morgenstern <ekkehard.morgenstern@onlinehome.de>
Subject:   Re: Threading system calls (int 80h)
Message-ID:  <200610150732.06291.davidxu@freebsd.org>
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
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



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