Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Implement pthread_cond in sthread -- too bad it's TODO in MC
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 12 Nov 2023 20:30:36 +0000 (21:30 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 12 Nov 2023 20:32:05 +0000 (21:32 +0100)
commit7097ed501ac302a5f0a2b3cd37114c81ec2e9145
tree8f4812494b506e610b53bd5688321b82c64fe0ce
parentd4854883e75206804034547ff47080ec1a751e35
Implement pthread_cond in sthread -- too bad it's TODO in MC

I now have to implement the condition variables in the MC world
(adding the transitions and the dependence theorems), but I first have
to implement the asynchronous version of CV::wait(), as the model
checker can only deal with persistent transitions. That's not a small
assignment, and it will have to wait for tomorrow.

Until then, the pthread_cond support in sthread is somewhat useless.
ChangeLog
src/sthread/sthread.c
src/sthread/sthread.h
src/sthread/sthread_impl.cpp
teshsuite/mc/CMakeLists.txt