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: Why to signal condvar with mutex held?


sandeep <shimple0@yahoo.com> writes:
[...]
> > Why not? Wait morphing doesn't awake any threads so its behavior should
> surely, i don't understand waitmorphing business wrt broadcast then.
> 
> > be the same on SMP. Wait morphing will put the threads into the mutex
> > queue in corresponding order no matter SMP or non-SMP system is in use.
> how does it get the original wait queue in priority order (you had
> mentioned something about that in your earlier mail, but that didn't
> clear the things). i guess, seeing your implementation patch would
> help me understand things better and may be not ask dumb questions to
> you. ;)

Well, I've just posted the patch to the ecos-patches mailing list.
Please refer here:

<http://ecos.sourceware.org/ml/ecos-patches/2004-12/msg00030.html>

-- 
Sergei.


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


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