utwente-fmt / ltsmin

The LTSmin model checking toolset
http://ltsmin.utwente.nl
BSD 3-Clause "New" or "Revised" License
51 stars 30 forks source link

Patches for issues #179, #180 and #181 #182

Closed yanntm closed 4 years ago

yanntm commented 4 years ago

So three relativeley small patches,

For the dlopen patch, I used a simple static version of pthread_mutex, but it does not match the code base so well, in the sense that I could not find similar code in ltsmin. There is also no special case to deal with "fork" scenario, although I believe the dlopen need not be protected in that case. The mutex does not really hurt anything however, and the contention only happens once at options parse time, so should be overall negligible.