From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heinrich du Toit Subject: multi threaded file access Date: Fri, 06 Dec 2002 13:39:29 +0200 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <3DF08C71.30605@tlabs.ac.za> Reply-To: hdutoit@tlabs.ac.za Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: List-Id: Content-Type: text/plain; format="flowed"; charset="us-ascii" To: linux-c-programming mailing list Hello I have a tcp/ip server which is offcourse multi threaded :-) Is it safe to have to threads access the same file descriptor at the same time? Or should I put a mutex over the file descriptor? Thanks for your help -Heinrich