Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 19 Apr 2001 12:37:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 19 Apr 2001 12:37:36 -0400 Received: from router-100M.swansea.linux.org.uk ([194.168.151.17]:9742 "EHLO the-village.bc.nu") by vger.kernel.org with ESMTP id ; Thu, 19 Apr 2001 12:37:11 -0400 Subject: Re: light weight user level semaphores To: torvalds@transmeta.com (Linus Torvalds) Date: Thu, 19 Apr 2001 17:38:23 +0100 (BST) Cc: alonz@nolaviz.org (Alon Ziv), linux-kernel@vger.kernel.org (Kernel Mailing List), mkravetz@sequent.com (Mike Kravetz), drepper@cygnus.com (Ulrich Drepper) In-Reply-To: from "Linus Torvalds" at Apr 19, 2001 09:03:42 AM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > can libraries use fast semaphores behind the back of the user? They might > well want to use the semaphores exactly for things like memory allocator > locking etc. But libc certainly cant use fd's behind peoples backs. libc is entitled to, and most definitely does exactly that. Take a look at things like gethostent, getpwent etc etc. Alan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/