From owner-freebsd-arch@FreeBSD.ORG Tue Jun 17 13:32:54 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC90A37B401; Tue, 17 Jun 2003 13:32:54 -0700 (PDT) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88AC843F3F; Tue, 17 Jun 2003 13:32:53 -0700 (PDT) (envelope-from pfeifer@dbai.tuwien.ac.at) Received: from [128.131.111.52] (naos [128.131.111.52]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id DA5C013787; Tue, 17 Jun 2003 22:32:51 +0200 (CEST) Date: Tue, 17 Jun 2003 22:32:48 +0200 (CEST) From: Gerald Pfeifer To: deischen@freebsd.org, freebsd-arch@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: _THREAD_SAFE and gcc man page X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 20:32:55 -0000 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 . -- Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.pfeifer.com/gerald/