This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cyg_Thread::wakeup_count


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]