Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Andy Venikov Newsgroups: comp.programming.threads Subject: Re: What's the latest state-of-the art for EventCounts? Date: Mon, 02 May 2011 10:47:35 -0400 Organization: A noiseless patient Spider Lines: 18 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 2 May 2011 14:47:36 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="aPNaUARmsjXpTg4ULFtzAg"; logging-data="17065"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/uxdu2VxKws6pFZMXlW4QBAnn83YgWoE=" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 In-Reply-To: Cancel-Lock: sha1:FxM5cR23A1G64ihV4qTZ+7bToiY= Xref: x330-a1.tempe.blueboxinc.net comp.programming.threads:112 On 04/29/2011 06:53 PM, Andy Venikov wrote: > There are several implementations out there. > Notably by Joe Seigh as part of his library. > Also several posts by Dmitry and Chris. > I also saw one by Rani Sharoni. > > Is there a consensus what's currently the best algorithm? > > Thanks, > Andy. Since the platform I care about is Linux, I think I could just use futexes. I mean, futex is just an implementation of an event count. Of course it's much more than that, but it can easily translate itself to an event count. No? Thanks, Andy.