From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 21:40:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBAE0106564A for ; Sat, 5 Mar 2011 21:40:44 +0000 (UTC) (envelope-from materribile@yahoo.com) Received: from nm29-vm0.bullet.mail.sp2.yahoo.com (nm29-vm0.bullet.mail.sp2.yahoo.com [98.139.91.236]) by mx1.freebsd.org (Postfix) with SMTP id 97BFA8FC0A for ; Sat, 5 Mar 2011 21:40:44 +0000 (UTC) Received: from [98.139.91.63] by nm29.bullet.mail.sp2.yahoo.com with NNFMP; 05 Mar 2011 21:40:44 -0000 Received: from [98.139.91.10] by tm3.bullet.mail.sp2.yahoo.com with NNFMP; 05 Mar 2011 21:40:44 -0000 Received: from [127.0.0.1] by omp1010.mail.sp2.yahoo.com with NNFMP; 05 Mar 2011 21:40:44 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 293625.68707.bm@omp1010.mail.sp2.yahoo.com Received: (qmail 52809 invoked by uid 60001); 5 Mar 2011 21:40:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1299361243; bh=TakRZEHlbrP2fCgphNVHvFNoCniZPY6412Oj0k1FQN0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=LiY8JcJci/5HAq4GdRIfDkvnHHz6kkFIRn8A4fmXMIKzpYC10jBImKqu+FIGIJ+0QsrwoHFKEQEierOmkGBjrqjjIHA4qfKjwuQ5Vtaoo2T1o2zKBucQHGh4MaqtxnTyDOp+eF1NEqNpVUNOuWvRv5aww0t52gRoR8oZkaFHh6Q= 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:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=PecLqdjjNmXVPgmOXJuYM9GUKR7sV+zkOq5n8ehcgJsjf6XIJ0ZiFDecjfYC8v0kVeyhz6WJ6on0w49zVhVAcaf50S54EwnGv9IYclPFl/eBpvywxNaEGUSRSCxqxgdjB5ert0ZVDvYP6AJF/6mx2l8hmC+jkYmEBbCcVt4zBlQ=; Message-ID: <818125.75432.qm@web110303.mail.gq1.yahoo.com> X-YMail-OSG: Lbub9I0VM1knHslLBQ2h3uGwiQTHTRnm5l1gDfjHsQcanu6 quL3.KLrbi3eGuKtpLlhZIjoTv1NDr5jc4i9HbIsbkDEmFne0t_gQF394QKA uQ4JxXNhkaP57ituH24QkbsxkAn8hGF92lH4ea0_Su.MHnasljHcQmHyllcR H.XEbxcEEexKLSVd99YBEUAsJE30PoY1ad3NsXSLHb1oEUtdBHDMiCdiR9rp xyvAqPRZrNGSC1h.PF8Xi3uBv_aosKkEhB8M52ZV71aygoyYEk0y5III3kLd NH8KfRr_oBf02PaXeD5f2c3vMuLZXiFJ_yi1iRNP00ggpqnuCYHJVWMEGbgs vhBTtZXuMstEJU1iyRtwxsO3CdSVl9AQPrfIHLf1iagWhqJalDjLXChQ.gil BU4HFmINt721X Received: from [24.228.57.153] by web110303.mail.gq1.yahoo.com via HTTP; Sat, 05 Mar 2011 13:40:43 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.109.295617 Date: Sat, 5 Mar 2011 13:40:43 -0800 (PST) From: Mark Terribile To: freebsd-questions@freebsd.org In-Reply-To: <20110305120028.BBB791065739@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: nanosleep, pthreads, FreeBSD 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 21:40:44 -0000 Hi, As I underestand things, nanosleep() is supposed to affect only the thread to which it is applied. I have a test program in which it appears to block both that thread and the thread which created it. Is this a known problem? Am I misreading things? I'm on 7.2; does this change in later versions? Mark Terribile materribile@yahoo.com