From owner-freebsd-questions@FreeBSD.ORG Mon Mar 19 18:57:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49F0D16A409 for ; Mon, 19 Mar 2007 18:57:35 +0000 (UTC) (envelope-from jules.stocks@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by mx1.freebsd.org (Postfix) with ESMTP id 0B28013C457 for ; Mon, 19 Mar 2007 18:57:34 +0000 (UTC) (envelope-from jules.stocks@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1324514wxc for ; Mon, 19 Mar 2007 11:57:34 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=anMHyBZ1i/pIREYDlGyichW7KEg1hxX8hjxp4GcLEXuk7+OIncQ9gdBr+zBrM+/FlMYq47Jo1zQpyEJDH0D3hMSvzXbROfNF2Cg8D+LrCIlKPGChAke8gb+0ZYU5Ih8cQVdjH/5N/KdM/Szgxic4+KwbkGVOBPmrtwLIdq05qbw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=k5gxoVe3gK5i75UjcJFbSSXWYkDtYImnh+pV8SVeVGuX8pMaCLk59Q2srVkzoxlL2oLT+ZmpN/cSlL8K7Fa1T9NL6fAnSgSeBdSUSHlJiIJUyoe1JIf5rkCBEIvzGGGSBs+elrSaOrPThvLLqM8Zf9gDdPqUoGPgu3p9n2v0wK4= Received: by 10.70.90.17 with SMTP id n17mr9050119wxb.1174329049529; Mon, 19 Mar 2007 11:30:49 -0700 (PDT) Received: from ?192.168.1.103? ( [24.91.145.236]) by mx.google.com with ESMTP id h20sm9552612wxd.2007.03.19.11.30.48; Mon, 19 Mar 2007 11:30:48 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <0ADF7D74-9905-4C0F-9002-604B362C76CB@gmail.com> Content-Transfer-Encoding: 7bit From: Jules Gilbert Date: Mon, 19 Mar 2007 14:30:46 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.752.3) Subject: pthread usage 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: Mon, 19 Mar 2007 18:57:35 -0000 Dear : I have blades, all running FreeBSD, (version 6.1) And these machines have to communicate, one with another. I need help making pthread work, as I need to enqueue and dequeue logical resource names, so that I can lock and unlock events and physical resources. Does anyone have examples of pthread code that is known to work under FreeBSD 6.1? I have several different problems, but most can be stated as having to defer execution of one job until one or more other jobs have concluded. I have tried using "clusterit". The key component doesn't work, sigh... I don't know whether the problem is the ClusterIt code or FreeBSD, either. So, please help... Otherwise, I shall have to take a month and migrate away -- not something I want to do at all! --jg