Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[4diac-dev] [FORTE] Remove recursive mutex requirement on win32 and possix


I'm currently reviewing the thread implementations because of the issues reported in Bug [1]. I found that by moving the joing code into base class the FORTE behavior on all platforms and simplifying porting FORTE to new platforms. However in order to get a thread save behavior of the join i would need to remove the recursive mutex property. Recursive mutex means that one thread can acquire the same mutex more then once. I did a code review on all mutex uses in FORTE and in the public code we currently don't need recursive mutexes. But to be sure I wanted to check here if there is anybody needing recursive mutexes. 

Maybe one further comment supporting the removal of recursive mutexes is that non-recursive mutexes need less memory and are faster then recursive mutexes. 



Back to the top