Date: Tue, 17 Jun 2003 22:32:48 +0200 (CEST) From: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> To: deischen@freebsd.org, freebsd-arch@freebsd.org Subject: _THREAD_SAFE and gcc man page Message-ID: <Pine.BSF.4.55.0306172228390.94125@naos.dbai.tuwien.ac.at>
next in thread | raw e-mail | index | archive | help
The following changed to include/stdio.h
revision 1.25
date: 2001/01/24 13:01:47; author: deischen; state: Exp; lines: +5 -55
Add a lock to DIR to make telldir and friends MT-safe.
Clean up stdio.h a bit and remove _THREAD_SAFE. Some of the
usual macros getc, putc, getchar, putchar are no longer macros.
Approved by: -arch
probably also should have removed the following part of the GCC man page:
FreeBSD SPECIFIC OPTIONS
-pthread
Link a user-threaded process against libc_r instead of libc. Ob-
jects linked into user-threaded processes should be compiled
with -D_THREAD_SAFE.
or at least the -D_THREAD_SAFE part of it.
Could one of you please take care of that? (GCC maintainers Cc:ed.)
Gerald
PS: This is now <http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/36167>.
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.pfeifer.com/gerald/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.55.0306172228390.94125>
