Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Oct 2000 18:29:57 -0500
From:      "Larry Ellis" <Larry_C_Ellis@hotmail.com>
To:        <freebsd-questions@FreeBSD.org>
Subject:   OS X: reentrant library, etc.
Message-ID:  <LAW2-OE4uuw4b61EySv00000b8e@hotmail.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0059_01C02C9E.C4614DA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I apologize, but I'm desperate.  I know OS X is not really FreeBSD =
(or... is it just that it's not really *free* ?).

Anyway, I have noticed none of the POSIX reentrant functions (strtok_r, =
localtime_r, etc) seem to be included in OS X. =20

This begs another question:  is the default library threadsafe (One =
would *guess not*,but...)? =20

I am porting a standard Unix TCP/IP application that is multithreaded =
and can't find any information about compiler switches or library =
requirements in Mac's doc (I've searched).

If anyone has any thoughts, I'd greatly appreciate it...




------=_NextPart_000_0059_01C02C9E.C4614DA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I apologize, but I'm desperate.&nbsp; I =
know OS X=20
is not really FreeBSD (or... is it just that it's not really *free*=20
?).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Anyway, I have noticed none of the =
POSIX reentrant=20
functions (strtok_r, localtime_r, etc)&nbsp;seem to be included in OS =
X.&nbsp;=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This begs another question:&nbsp; is =
the default=20
library threadsafe (One would *guess not*,but...)?&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am porting a standard Unix TCP/IP =
application=20
that is multithreaded and can't find any information about compiler =
switches or=20
library requirements in Mac's doc (I've searched).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If anyone has any thoughts, I'd greatly =
appreciate=20
it...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0059_01C02C9E.C4614DA0--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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