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

[-- Attachment #1 --]
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.  

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

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...




[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4207.2601" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I apologize, but I'm desperate.&nbsp; I know OS X 
is not really FreeBSD (or... is it just that it's not really *free* 
?).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Anyway, I have noticed none of the POSIX reentrant 
functions (strtok_r, localtime_r, etc)&nbsp;seem to be included in OS X.&nbsp; 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This begs another question:&nbsp; is the default 
library threadsafe (One would *guess not*,but...)?&nbsp; </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>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).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>If anyone has any thoughts, I'd greatly appreciate 
it...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>

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