On 06/07/2016 11:34 AM, Henrique Almeida wrote:
> Andrew, there's an implementation of pthread_cond_broadcast from Wind
> River in the link below. It looks like it's from 2002, so a newer
> version might be available.
>
> http://read.pudn.com/downloads58/sourcecode/embed/205887/src/posix/pthreadLib.c__.htm
It's implemented by serially going through the list of threads waiting
on the semaphore and calling semGive() once for each (which doesn't seem
quite right to me given that it's a binary semaphore, but I guess it
probably works).
Mike has since discovered that he probably doesn't need this, so I think
the question is now moot but thanks anyway.
- Andrew
--
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon
- References:
- epicsEventSignal() question Michael Westfall
- Re: epicsEventSignal() question Andrew Johnson
- Re: epicsEventSignal() question Michael Westfall
- Re: epicsEventSignal() question Johnson, Andrew N.
- Re: epicsEventSignal() question Henrique Almeida
- Re: epicsEventSignal() question Andrew Johnson
- Re: epicsEventSignal() question Henrique Almeida
- Navigate by Date:
- Prev:
Re: Problem in updating EGU field in CSS-BOY Kasemir, Kay
- Next:
RE: Questions about devIocStats on vxWorks Allison, Stephanie
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: epicsEventSignal() question Henrique Almeida
- Next:
Re: epicsEventSignal() question Michael Westfall
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
|