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]
Other format: [Raw text]

RE: Wait on multiple objects


> -----Original Message-----
> From: Nick Garnett [mailto:nickg at ecoscentric dot com]
> Sent: Wednesday, February 19, 2003 3:44 PM
> To: Fabrice Gautier
> Cc: 'Jonathan Larmour'; Ecos-List (E-mail)
> Subject: Re: [ECOS] Wait on multiple objects
> 
> 
> >     //add thread to multiple queues
> >     for(u=0; u<nfls; u++) {
> >         Cyg_Flag *flag=(Cyg_Flag *)ufls[u];
> > 	  flag->queue.enqueue(self);
> 
> This is the bit that doesn't work. Each thread only has one list node
> for adding to a queue. You cannot add a thread directly to more than
> one queue.
 
All right, I understand now.... 
 
> Trust me, I've looked at this sort of thing, and run away 
> screaming :-)

I see, i'll stop talking about this then, i dont want to cause nightmares to
anyone...

Thanks,

Fabrice Gautier
 

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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