
14 Sep
2005
14 Sep
'05
2:05 p.m.
Alexander Terekhov schrieb:
Roland Schwarz wrote:
[... too strict locking ...]
Could you please elaborate?
Please see
http://groups.google.de/group/comp.programming.threads/msg/846010a82d6c51b0
including followups.
Thank you, this was very instructive indeed. I.e. the seqeunce t1: Thread A enters wait t2: Thread B signals must result in a guaranted wakeup. While t1: ThreadA enters wait t2: Thread B signals ... tx: Thread X signals ... ty: Thread Y signals ... should not block off any successive signallers (X,Y,...) until another wait is entered. My and as I learned by now your first attempt too suffers exactly from this. Thank you, Roland