From owner-freebsd-arch Tue Nov 2 14: 5:40 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 09D681546E for ; Tue, 2 Nov 1999 14:05:08 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id XAA27714 for ; Tue, 2 Nov 1999 23:05:05 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id XAA82695 for freebsd-arch@freebsd.org; Tue, 2 Nov 1999 23:05:05 +0100 (MET) Received: by hub.freebsd.org (Postfix, from userid 758) id 48C2D1546E; Tue, 2 Nov 1999 14:04:50 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 3AC0C1CD75C; Tue, 2 Nov 1999 14:04:49 -0800 (PST) (envelope-from kris@hub.freebsd.org) Date: Tue, 2 Nov 1999 14:04:49 -0800 (PST) From: Kris Kennaway To: Julian Elischer Cc: freebsd-arch@freebsd.org Subject: Re: Threads models and FreeBSD. (Next Step) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 2 Nov 1999, Julian Elischer wrote: > 2/ Ability to simultaneously schedule M threads over N Processors, > and have min(M,N) threads simultaneously executing. ^ systemwide or in other words, "no processor should be idle if there is an unblocked thread available". > 7/ Some well documeted scheme exists for handling signals and other async > events. The Solaris papers I referred to earlier outline the model they use, which is basically, process-wide thread handlers (not per-thread), but per-thread signal masks. The thread handler can use the thread ID as an index into a lookup table to implement per-thread handling, if desired. The user-level code needs to install handlers which actually receive the signals if any of the (possibly sleeping) threads are waiting for them, and then wake them up or queue the signal as appropriate, and post it to them when they next become active. As for further references, I found out recently that USC has electronic access to a huge array of full-text online journals and resources (e.g. the IEEE online library, the ACM journals dating back to 1985, etc). If anyone is looking for a paper, let me know and I'll see if I can (legally) send it to you. Kris ---- Cthulhu for President! For when you're tired of choosing the _lesser_ of two evils.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message