:: Re: [DNG] Wirth's law
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Didier Kryn
日付:  
To: dng
題目: Re: [DNG] Wirth's law
Le 25/07/2016 01:29, Rainer Weikusat a écrit :
> Sleeping on a contended mutex is implemented in this way. But that's
> supposed to be an exceptional case.


     This is why, while advertizing itself as a cool "don't care" 
feature, a mutex is problematic: the programmer should make sure 
contention is exceptional and there is no risk of dead-lock. This leads, 
in my opinion, to a rather restrictive usage of mutexes.


     Didier