Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2007 12:30:30 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Jules Gilbert <jules.stocks@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pthread usage
Message-ID:  <B22CD698-CF20-479D-B0D3-DCD4EF1DC3A1@mac.com>
In-Reply-To: <0ADF7D74-9905-4C0F-9002-604B362C76CB@gmail.com>
References:  <0ADF7D74-9905-4C0F-9002-604B362C76CB@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 19, 2007, at 11:30 AM, Jules Gilbert wrote:
> 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?

There are hundreds of ports which use POSIX threads:

   find /usr/ports -name Makefile -print0 | xargs -0 grep -l PTHREAD

> 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.

Are you using the port, /usr/ports/net/clusterit...?
Talk to the maintainer, perhaps, who is <demon@FreeBSD.org>.

-- 
-Chuck






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B22CD698-CF20-479D-B0D3-DCD4EF1DC3A1>