From owner-freebsd-threads@FreeBSD.ORG Tue Jun 17 15:24:06 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E84F137B401 for ; Tue, 17 Jun 2003 15:24:06 -0700 (PDT) Received: from rwcrmhc12.attbi.com (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28E4943F3F for ; Tue, 17 Jun 2003 15:24:06 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc12) with ESMTP id <2003061722240501400ad3gre>; Tue, 17 Jun 2003 22:24:05 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA31406; Tue, 17 Jun 2003 15:24:04 -0700 (PDT) Date: Tue, 17 Jun 2003 15:24:03 -0700 (PDT) From: Julian Elischer To: Sergey Kosyakov In-Reply-To: <20030617185916.44649.qmail@web12401.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org Subject: Re: The first kse_create call X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 22:24:07 -0000 The first kse_create() "converts" teh current thread/KSE to be upcall "capable" but it just returns.. all the other calls to kse_create() will also 'just return', however the new KSE/thread will upcall. in the case of the first call, there is no "other" thread. (unless the NEW_KSEGRP flag is set). On Tue, 17 Jun 2003, Sergey Kosyakov wrote: > Hi, > > I'm trying to run simple program with kse. As I understood the very > first kse_create call does not create KSE but just assigns the mailbox > to the existing "default" KSE and makes upcall. May be I'm doing > something wrong, > but I never got upcall on the first kse. When I create another KSE (and > another KSE group) I immediatelly get the upcall for this (second) KSE. > Just interesting how does it work - may be the first KSE has special > behavior? > > Thanks, > Sergey. > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" >