From owner-freebsd-current@FreeBSD.ORG Mon Oct 30 06:38:19 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DD5A16A517; Mon, 30 Oct 2006 06:38:19 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from linda-3.paradise.net.nz (linda-3.paradise.net.nz [203.96.152.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id B70B043D5D; Mon, 30 Oct 2006 06:38:18 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from smtp-2.paradise.net.nz (tclsnelb1-src-1.paradise.net.nz [203.96.152.172]) by linda-3.paradise.net.nz (Paradise.net.nz) with ESMTP id <0J7X00EVZRRSER@linda-3.paradise.net.nz>; Mon, 30 Oct 2006 19:38:16 +1300 (NZDT) Received: from [192.168.1.11] (218-101-28-57.dsl.clear.net.nz [218.101.28.57]) by smtp-2.paradise.net.nz (Postfix) with ESMTP id CD4D4E85C4A; Mon, 30 Oct 2006 19:38:15 +1300 (NZDT) Date: Mon, 30 Oct 2006 19:38:14 +1300 From: Mark Kirkwood In-reply-to: <45458C7E.50104@elischer.org> To: Julian Elischer Message-id: <45459DD6.6070309@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit User-Agent: Thunderbird 1.5.0.7 (X11/20061003) References: <917908193.20061027102647@serebryakov.spb.ru> <20061027103924.F79313@fledge.watson.org> <45426071.7020403@elischer.org> <602423478.20061028001449@serebryakov.spb.ru> <4542896D.1050001@elischer.org> <20061027231642.GJ30707@riyal.ugcs.caltech.edu> <45429703.8070305@elischer.org> <20061028104741.Q69980@fledge.watson.org> <45442A35.2030803@elischer.org> <20061029090309.T27107@fledge.watson.org> <20061029182108.GA46604@misty.eyesbeyond.com> <45458C7E.50104@elischer.org> Cc: Greg Lewis , Paul Allen , Lev Serebryakov , Robert Watson , current@freebsd.org Subject: Re: KSE, libpthread & libthr: almost newbie question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2006 06:38:19 -0000 Julian Elischer wrote: > Greg Lewis wrote: > >> If you really want to know, just send the running process a SIGQUIT and >> it will dump the currently running threads to stdout. But yes, 1.4 >> and 1.5 >> both use "native" threads which correspond 1:1 with OS threads (plus >> there are threads the JVM creates itself, as you note). The JVM threads >> include garbage collection and AWT event handlers at least. >> > > I gather it doesn't use libpthread, but rather just the syscalls? > I stumbled on link below while doing a little searching on this topic: http://java.sun.com/j2se/1.5.0/docs/guide/vm/thread-priorities.html Obviously Solaris and Java centric, but discussed the M:N to 1:1 change between 1.4.1 and 1.4.2 along with the Java threads <-> lightweight process representation. regards Mark