From: Keresztfalvi Laszlo <kereszt@crossys.com>
To: pthreads-win32 <pthreads-win32@sources.redhat.com>
Subject: localtime_r
Date: Mon, 07 Feb 2005 09:01:00 -0000 [thread overview]
Message-ID: <20050204115434.GE3172@cross> (raw)
Hello,
I've found that localtime_r() is a macro in pthread-win32 simply referencing
the localtime() function. According to the MSDN localtime() works just like
the UNIX version.. each call overwrites the static struct tm storage.
Is this really thread safe?
Thanks,
Laszlo
PS: a simple call like this: localtime_r (&tt, &ttm); causes MinGW to log
"warning: value computed is not used"
next reply other threads:[~2005-02-07 9:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-07 9:01 Keresztfalvi Laszlo [this message]
2005-02-07 11:42 ` localtime_r Will Bryant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050204115434.GE3172@cross \
--to=kereszt@crossys.com \
--cc=pthreads-win32@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).