From owner-freebsd-hackers Wed Dec 11 19:28: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34B9237B401; Wed, 11 Dec 2002 19:28:06 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90C6443EA9; Wed, 11 Dec 2002 19:28:05 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.6/8.12.5) with SMTP id gBC3RoBF018193; Wed, 11 Dec 2002 22:27:50 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Wed, 11 Dec 2002 22:27:50 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: ouyang kai Cc: hackers@FreeBSD.org, julian@FreeBSD.org, peter@wemm.org Subject: Re: Some problems about KSE In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG A commit was made to correct the KSE crash shortly after 5.0-RC1. You can cvsup forward to a newer revision, or wait for RC2. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories On Wed, 11 Dec 2002, ouyang kai wrote: > Hi, everybody, > I want to make sure whether we can program the multi-thread code based on > KSE in FreeBSD5.0 RC-1. > I have make in '/usr/src/lib/libpthread', I found some new things in > '/usr/lib' as follow: > lrwxr-xr-x 1 root wheel 11 Dec 11 16:04 libkse.so -> libkse.so.1 > -r--r--r-- 1 root wheel 68780 Dec 11 16:04 libkse.so.1 > -r--r--r-- 1 root wheel 164448 Dec 11 16:04 libkse_p.a > -r--r--r-- 1 root wheel 153854 Dec 11 16:04 libkse.a > So if I program. How can I use the kse? > I can use pthread(3) as traditional manner, only using '-lpthread' instead > of '-pthread' in my makefile, right? > when I use /usr/src/tools/KSE/ksetest/ksetest program , it always cause my > box crash. I have report this issue to Julian. > I am seeing KSE(2), I have some puzzles about that. > 1. upcall is really means what? Does it represent through 'km_func'? if it > were true, the 'km_func' is indicated by whom? UTS, Kernel, or user program, > I do not know. > 2. When one process has more than one KSEG, the signal should be delivered > to which KSEG? The manual said it is indeterminate. I do not know how the > signal could be delivered to the special KSEG exactly? > > Thank you! > Best Regards > Ouyang Kai > > > > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message