Mypal68 icon indicating copy to clipboard operation
Mypal68 copied to clipboard

Mutex - Condvar - Monitor

Open Feodor2 opened this issue 3 years ago • 2 comments

https://en.wikipedia.org/wiki/Readers%E2%80%93writer_lock The stuff is used for multiproccess. Vista+ has new thing SRWlock and ConditionVariable and winxp does not have. FF52 has ConditionVariable code for winxp already so i took it from it. https://github.com/Feodor2/Mypal68/blob/main/mozglue/misc/ConditionVariable_windows.cpp It is unstable and causes the most crashes and freeze i get. I found inside another code and it is chromish, why they hide it there and do not use is another question. And inside it is a big article https://github.com/Feodor2/Mypal68/blob/main/ipc/chromium/src/base/condition_variable_win.cc#L303 So chromish developers cared more and made better code i suppose I decided to point stuff to chromish code dozens monitors and handreds conver...

Feodor2 avatar May 18 '22 18:05 Feodor2

When poked https://github.com/Feodor2/Mypal68/blob/main/xpcom/threads/Monitor.h get very strange rust error so did leave it intact

Feodor2 avatar May 19 '22 14:05 Feodor2

Almost stuff is now moved only non standart has been left intact. Like this https://github.com/Feodor2/Mypal68/blob/main/ipc/glue/MessageChannel.h#L39

Feodor2 avatar May 19 '22 21:05 Feodor2