From owner-freebsd-current@FreeBSD.ORG Wed Apr 8 16:27:41 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F0FE1065678 for ; Wed, 8 Apr 2009 16:27:41 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: from web63902.mail.re1.yahoo.com (web63902.mail.re1.yahoo.com [69.147.97.117]) by mx1.freebsd.org (Postfix) with SMTP id F0D898FC14 for ; Wed, 8 Apr 2009 16:27:40 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: (qmail 16432 invoked by uid 60001); 8 Apr 2009 16:27:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1239208060; bh=J0YTsxPM7ln0lDVDoZr2mVImp3xIrQhqJpJtWnaEAZ4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=08z7HjB+/2A+WIv/Kn3icfW74MBodbEctJu0TpHY+v2fU4sVwplCYf7LMEeEY4obF3FqEye/lQA/bExMt4Jb9/D/x4tHf2WoJT0++BGugC4NJXa8owr5vrENYA7DRBs+H1V/1Kh9zEt2A0+Djo1YikXzjWYwkD8RPxDogpGYswM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=euH1pRjueGyjH4Xb/NrDpfI540SmrFVz6xOXFhKoEPXfwN6YWiEg4k9Bdp8AIOENFImaI37PFpEK1h3Qx3f9Hj4LZw5v5IsNTHpHuRJICOHYGvpXgRhuRLHo2nNKl2E46cQ0iyXzNMwPEZDMZmzU7q4Bt6ddEK9QqWN1bpmJr7o=; Message-ID: <508110.15906.qm@web63902.mail.re1.yahoo.com> X-YMail-OSG: 3ESUcWYVM1n.H3GlQzSKieCMbC6oZ2SmEL2LjeBiUSPCIPJTa1B0W7tzjf6i8.gqj3tcQBULHzb9u0A8DrfiVsPJXB26x4CBo0ODtq3xqNNr7RbQOI_AWhtjKflMrF2PWpSeWiWJd5O_BldMV1ancjUSzbVy.mrrHeUZzGMrAK7_33PWsrKGrg.NIFG3i6zZn.Pq6yRaX3wKmYlGv1BGyrvfbVOqgZ46FBTSKY0A14K.xltGQCk_vDyTu5c8s7ww6ilJzr3tYVm1ajT5XB3SGUmUhYE- Received: from [98.242.222.229] by web63902.mail.re1.yahoo.com via HTTP; Wed, 08 Apr 2009 09:27:40 PDT X-Mailer: YahooMailWebService/0.7.289.1 Date: Wed, 8 Apr 2009 09:27:40 -0700 (PDT) From: Barney Cordoba To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Are wakeups cumulative? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: barney_cordoba@yahoo.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2009 16:27:41 -0000 If a wakeup() call is issued and the thread isn't sleeping, will it the wakeup be issued immediately when it does sleep, or is the wakeup discarded? Also if multiple wakeups are issues before wakeup is the thread only woken once? Barney