From owner-freebsd-net@FreeBSD.ORG Thu Sep 23 10:24:01 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AFED16A4CE for ; Thu, 23 Sep 2004 10:24:01 +0000 (GMT) Received: from smtp08.web.de (smtp08.web.de [217.72.192.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id F241543D5A for ; Thu, 23 Sep 2004 10:24:00 +0000 (GMT) (envelope-from Waldemar.Kornewald@web.de) Received: from [80.134.73.165] (helo=[80.134.73.165]) by smtp08.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE 4.101 #44) id 1CAQlb-0008RA-00 for freebsd-net@freebsd.org; Thu, 23 Sep 2004 12:24:00 +0200 Message-ID: <4152A3E9.8080700@web.de> Date: Thu, 23 Sep 2004 12:22:33 +0200 From: Waldemar Kornewald User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD-net X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: Waldemar.Kornewald@web.de X-Sender: Waldemar.Kornewald@web.de Subject: locking X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 10:24:01 -0000 Hi again, we at the Haiku networking team are considering a port of your 5.3 netstack because it is thread-safe and making the old one (4.x, I think) thread-safe is probably a much bigger task. Now, I saw that the routing code seems to use macros for the locking code. Do you use macros everywhere? We would prefer having native threads and locks. Haiku only has semaphores, not mutexes, is that a problem? Could you think of some other difficulties we could run into when porting it? Thank you. Bye, Waldemar Kornewald