From owner-freebsd-current Fri Oct 2 09:04:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA20449 for freebsd-current-outgoing; Fri, 2 Oct 1998 09:04:40 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA20433 for ; Fri, 2 Oct 1998 09:04:35 -0700 (PDT) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id JAA09514; Fri, 2 Oct 1998 09:04:07 -0700 (PDT) (envelope-from jdp) Message-Id: <199810021604.JAA09514@austin.polstra.com> To: shmit@kublai.com Subject: Re: Threading man pages. In-Reply-To: <19981001181601.C228@kublai.com> References: <19981001175036.B228@kublai.com> <199810012207.IAA10855@cimlogic.com.au> <19981001181601.C228@kublai.com> Organization: Polstra & Co., Seattle, WA Cc: current@FreeBSD.ORG Date: Fri, 02 Oct 1998 09:04:07 -0700 From: John Polstra Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <19981001181601.C228@kublai.com>, Brian Cully wrote: > That, and there appear to be problems with the way pthread_create > and fork() interact. After I fork(), I do a bunch of pthread_creates > and my application just hangs. If I don't fork() everything works > fine. Fork() or vfork()? SMP kernel? This is a very long shot, but try updating "src/sys/vm/vm_map.c" to the latest version (1.136). It fixed some problems related to fork() on all kernels, and vfork() as well on SMP systems. I don't think it will solve your problem, but it's worth a try (just barely). -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message