LinuxThreads & NPTL compatibility

"Trevor Lobban" <[email protected]> Fri, 18 Jun 2004 15:58:35 +0100
Newsgroups gmane.comp.lib.phil
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--===============0874374330==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0005_01C4554D.1CD8F5C0"

This is a multi-part message in MIME format.

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

Hi,
    I've been searching for confirmation that LinuxThreads and NPTL are =
binary compatible for 'well written' applications (i.e sensible use of =
getpid and don't use any NPTL only features [process-shared etc.])

Can I build a thareded application on SLES 8 and expect it work on Red =
Hat AS 3 (or even AS 4)? The reason I ask is I notice the size of the =
pthread_cond_t has changed between SLES 8 and Red Hat AS 3 albeit the =
size increase appears all padding.

If the size is a problem, can I simply ensure that the memory I declare =
for my condition variables on SLES 8 has sufficient padding for the =
extra 36 bytes required by Red hat AS 3?

Any help is much appreciated.

Thanks,

Trevor


------=_NextPart_000_0005_01C4554D.1CD8F5C0
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 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; I've been searching =
for=20
confirmation that LinuxThreads and NPTL are binary compatible for 'well =
written'=20
applications (i.e sensible use of getpid and don't use any NPTL only =
features=20
[process-shared etc.])</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Can I build a thareded&nbsp;application =
on SLES 8=20
and expect it work on Red Hat AS 3 (or even AS 4)? The reason I ask is I =
notice=20
the size of the pthread_cond_t has changed between SLES 8 and Red Hat AS =
3=20
albeit the size increase appears all padding.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If the size is a problem, can I simply =
ensure that=20
the memory I declare for my condition variables on SLES 8 has sufficient =
padding=20
for the extra 36 bytes required by Red hat AS 3?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any help is much =
appreciated.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Trevor</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0005_01C4554D.1CD8F5C0--



--===============0874374330==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline