Liste des Groupes | Revenir à cl c++ |
On 4/13/2025 8:38 AM, Bonita Montero wrote:The numer of context-switches my code shows say that there's onlyAm 12.04.2025 um 21:33 schrieb Chris M. Thomasson:No. ...
>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.
>
>
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...idiot.
Les messages affichés proviennent d'usenet.