From: 42Bastian Schick on
On Fri, 28 May 2010 16:00:45 -0700, Tim Wescott <tim(a)seemywebsite.now>
wrote:

>> The main point is this: isn't there a "type" of semaphore usually
>> provided in other OSes which allows multiple tasks to pend on a
>> "single" post?
>
>Yes. It's called a 'binary semaphore'. Sometimes it's called an
>'event' or a 'flag'. A complete RTOS should have both: many have just

Bah, a 'complete RTOS' ?! What is this? Why is having semaphore a
measure for the completeness of an RTOS ?

--
42Bastian
Do not email to bastian42(a)yahoo.com, it's a spam-only account :-)
Use <same-name>@monlynx.de instead !
From: Tim Wescott on
On 05/28/2010 11:22 PM, 42Bastian Schick wrote:
> On Fri, 28 May 2010 16:00:45 -0700, Tim Wescott<tim(a)seemywebsite.now>
> wrote:
>
>>> The main point is this: isn't there a "type" of semaphore usually
>>> provided in other OSes which allows multiple tasks to pend on a
>>> "single" post?
>>
>> Yes. It's called a 'binary semaphore'. Sometimes it's called an
>> 'event' or a 'flag'. A complete RTOS should have both: many have just
>
> Bah, a 'complete RTOS' ?! What is this? Why is having semaphore a
> measure for the completeness of an RTOS ?
>
Because I said so, before you weighed in.

--
Tim Wescott
Control system and signal processing consulting
www.wescottdesign.com
From: D Yuniskis on
Tim Wescott wrote:
> On 05/28/2010 11:22 PM, 42Bastian Schick wrote:
>> On Fri, 28 May 2010 16:00:45 -0700, Tim Wescott<tim(a)seemywebsite.now>
>> wrote:
>>
>>>> The main point is this: isn't there a "type" of semaphore usually
>>>> provided in other OSes which allows multiple tasks to pend on a
>>>> "single" post?
>>>
>>> Yes. It's called a 'binary semaphore'. Sometimes it's called an
>>> 'event' or a 'flag'. A complete RTOS should have both: many have just
>>
>> Bah, a 'complete RTOS' ?! What is this? Why is having semaphore a
>> measure for the completeness of an RTOS ?
>>
> Because I said so, before you weighed in.

ROTFL!

+1 Tim! ;-)

From: 42Bastian Schick on
On Fri, 28 May 2010 23:27:21 -0700, Tim Wescott <tim(a)seemywebsite.now>
wrote:

>On 05/28/2010 11:22 PM, 42Bastian Schick wrote:
>> On Fri, 28 May 2010 16:00:45 -0700, Tim Wescott<tim(a)seemywebsite.now>
>> wrote:
>>>
>>> Yes. It's called a 'binary semaphore'. Sometimes it's called an
>>> 'event' or a 'flag'. A complete RTOS should have both: many have just
>>
>> Bah, a 'complete RTOS' ?! What is this? Why is having semaphore a
>> measure for the completeness of an RTOS ?
>>
>Because I said so, before you weighed in.

Then it is ok. I go back to my corner and be ashamed :-)

--
42Bastian
Do not email to bastian42(a)yahoo.com, it's a spam-only account :-)
Use <same-name>@monlynx.de instead !
From: Tim Wescott on
On 05/29/2010 02:15 AM, 42Bastian Schick wrote:
> On Fri, 28 May 2010 23:27:21 -0700, Tim Wescott<tim(a)seemywebsite.now>
> wrote:
>
>> On 05/28/2010 11:22 PM, 42Bastian Schick wrote:
>>> On Fri, 28 May 2010 16:00:45 -0700, Tim Wescott<tim(a)seemywebsite.now>
>>> wrote:
>>>>
>>>> Yes. It's called a 'binary semaphore'. Sometimes it's called an
>>>> 'event' or a 'flag'. A complete RTOS should have both: many have just
>>>
>>> Bah, a 'complete RTOS' ?! What is this? Why is having semaphore a
>>> measure for the completeness of an RTOS ?
>>>
>> Because I said so, before you weighed in.
>
> Then it is ok. I go back to my corner and be ashamed :-)
>
Good. I'll pat myself on the back.

Note that I don't think that one necessarily _needs_ a "complete" RTOS
(whatever that is), but if there were one out there it would certainly
have both flavors of semaphores.

--
Tim Wescott
Control system and signal processing consulting
www.wescottdesign.com