From owner-freebsd-chat Thu Jul 15 11:37:48 1999 Delivered-To: freebsd-chat@freebsd.org Received: from shell.webmaster.com (mail.webmaster.com [209.133.28.73]) by hub.freebsd.org (Postfix) with ESMTP id 6A0C2154A7 for ; Thu, 15 Jul 1999 11:37:45 -0700 (PDT) (envelope-from davids@webmaster.com) Received: from whenever ([209.133.29.2]) by shell.webmaster.com (Post.Office MTA v3.5.3 release 223 ID# 0-12345L500S10000V35) with SMTP id com; Thu, 15 Jul 1999 11:37:20 -0700 From: "David Schwartz" To: "Alfred Perlstein" Cc: "Terry Lambert" , , , , Subject: RE: Known MMAP() race conditions ... ? Date: Thu, 15 Jul 1999 11:37:20 -0700 Message-ID: <000801becef1$125568a0$021d85d1@youwant.to> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > On FreeBSD, I'm basically screwed. I'd have to write me own resolver > > library to do the job. Licensing problems prevent me from using > pretty much > > every nice resolver library out there. > > You seem to be quite knowledgeable, a BSD'd re-entrant gethostbyname > would proabably be welcome in the repository. > > -Alfred Well, you're giving too much credibility to my example. My point was not that this specific problem needs to be solved. My point was more that there are legitimate cases where you need lots of 'real' threads. You might solve some of them, but there will always be more. I'm responding to the claim made that no such cases exist. I honestly can't imagine how anyone could make that claim except out of lack of experience with large real-world applications. The question really started as "why would anyone ever not want to use FreeBSD?". I think the slant has, fortunately, been more like "if there's something really broken/missing we need to know" rather than "FreeBSD is so great, how could anyone ever choose another OS". Which is good. And I think one of the answers is that sometimes you really do need kernel threads, unless you want to do an incredible amount of work to avoid them. Now, you can take my example and say, "let's do all the work to avoid it", but another one will pop up. Btw, FWIW, Linux doesn't handle 400 kernel threads all calling 'gethostbyname' well either. The case is the same with 'gethostbyname_r'. Solaris doesn't either. NT has no problem. DS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message