[ECOS] Cyg_Thread::wakeup_count
Jonathan Larmour
jlarmour@redhat.com
Wed Jun 20 21:32:00 GMT 2001
Rafael RodrÃÂguez Velilla wrote:
>
> I see in the constructor of Cyg_Thread that suspend_count is
> initialised to 1 but wakeup_count is not initialised.
> If I'm going to use counted_wake, do I need to call
> cancel_counted_wake at first? Wouldn't it be better if it were
> initialised in the constructor?
Looks like an omission in the constructor. I'll initialize it to 0.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/
More information about the Ecos-discuss
mailing list