* noreentrant functions on Linux Advance Server 2.1 using gcc 2.96
@ 2004-03-26 13:14 Jyotirmoy Das
[not found] ` <2B721C6525F0D411B1E900B0D0226BDD044C73D9@mohmsg01.ad.infos ys.com>
0 siblings, 1 reply; 4+ messages in thread
From: Jyotirmoy Das @ 2004-03-26 13:14 UTC (permalink / raw)
To: gcc-help
Hi All,
How can I get the list of thread unsafe functions on Linux Advance
Server 2.1 using gcc 2.96? And also how to get their corresponding
thread safe version?
How I know that I particular function is reentrant or not?
Thanks,
Jyotirmoy
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: noreentrant functions on Linux Advance Server 2.1 using gcc 2.96
@ 2004-03-26 17:00 Jyotirmoy Das
[not found] ` <2B721C6525F0D411B1E900B0D0226BDD044C73E1@mohmsg01.ad.infos ys.com>
0 siblings, 1 reply; 4+ messages in thread
From: Jyotirmoy Das @ 2004-03-26 17:00 UTC (permalink / raw)
To: Eljay Love-Jensen; +Cc: gcc-help
Hi Eljay,
Thanks for your reply.
I am currently using the link as you specified below. I want to know
specifically the exhausted function list on LAS 2.1. Is that list is
sufficient?
I have almost seven lacks lines of code. In addition, it is not possible
for me to go through the each of source file and as a result, I need the
list of functions so that I can use the list in a shell script to point
out the source files.
Moreover, Is malloc a thread-safe function?
Thanks,
Jyotirmoy
-----Original Message-----
From: Eljay Love-Jensen [mailto:eljay@adobe.com]
Sent: Friday, March 26, 2004 6:14 PM
To: Jyotirmoy Das; gcc-help@gcc.gnu.org
Subject: Re: noreentrant functions on Linux Advance Server 2.1 using gcc
2.96
Hi Jyotirmoy,
The thread unsafe ones are all the ones that return a pointer to an
internal buffer.
The corresponding thread safe versions have the same name with a suffix
of
_r (for "re-entrant").
For instance, ctime() and ctime_r().
Bionic Buffalo lists these thread safe / unsafe functions:
<http://www.tatanka.com/doc/technote/tn0105.pdf>
HTH,
--Eljay
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-03-26 13:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-26 13:14 noreentrant functions on Linux Advance Server 2.1 using gcc 2.96 Jyotirmoy Das
[not found] ` <2B721C6525F0D411B1E900B0D0226BDD044C73D9@mohmsg01.ad.infos ys.com>
2004-03-26 13:22 ` Eljay Love-Jensen
2004-03-26 17:00 Jyotirmoy Das
[not found] ` <2B721C6525F0D411B1E900B0D0226BDD044C73E1@mohmsg01.ad.infos ys.com>
2004-03-26 13:39 ` Eljay Love-Jensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).