From owner-freebsd-current Tue Dec 22 11:16:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA05719 for freebsd-current-outgoing; Tue, 22 Dec 1998 11:16:17 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ns.tar.com (ns.tar.com [204.95.187.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA05714 for ; Tue, 22 Dec 1998 11:16:12 -0800 (PST) (envelope-from dick@ns.tar.com) Received: (from dick@localhost) by ns.tar.com (8.9.1/8.9.1) id NAA13910 for current@freebsd.org; Tue, 22 Dec 1998 13:16:03 -0600 (CST) (envelope-from dick) Message-ID: <19981222131603.B13835@tar.com> Date: Tue, 22 Dec 1998 13:16:03 -0600 From: Richard Seaman To: current@FreeBSD.ORG Subject: Update on Linux Threads patches Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The information at http://lt.tar.com has been updated somewhat. The most important changes are these: 1) The linuxthreads "port" did not work correctly with the patches incorporated into FreeBSD-current under the option COMPAT_LINUX_THREADS. I had accidentally deleted the code that permitted the ports to work without the "growable stack" patches. The port has been fixed. This had no effect on linux threads running in emulation mode. 2) It appears that the linux libraries included in the ports/emulators/linux_lib are buggy. I'm not sure if the problem is in glibc or libpthreads. These are apparently not the latest versions. The problem is that linux threads internal structures don't get freed when threads exit. Since there is a limit of 1024 threads, once you have created that many threads you can't create any more, even if some (or all) of the thread you created have been destroyed. The problem is fixed by installing updated linux libraries, such as those that accompany StarOffice 5.0. -- Richard Seamman, Jr. email: dick@tar.com 5182 N. Maple Lane phone: 414-367-5450 Chenequa WI 53058 fax: 414-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message