Liste des Groupes | Revenir à cl c++ |
Am 12.04.2025 um 21:33 schrieb Chris M. Thomasson:No. When you signal a condvar while holding the lock it means that waiters can wake and just instantly wait on the lock. This is why wait morphing was created. It helps, but only so much...
There is a scalability problem wrt signalling inside the critical section. Does your convdar impl use wait morphing?There's no scalability problem with that since the kernel call to
release a thread happens only when the mutex is accessible *and*
the cv is signalled.
Les messages affichés proviennent d'usenet.