Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't test features that are impossible to get right
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 1 Dec 2017 21:12:56 +0000 (22:12 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 1 Dec 2017 21:12:58 +0000 (22:12 +0100)
commit73be712f8672739c0f594919aaae1f2f3a2e957a
treeb92fd39e5cb01829bf987ee37fcf2368a2b4cb7d
parent414e94ea617131be95347ce93a9b230bca821e19
Don't test features that are impossible to get right

There is no automatic refcounting in C so when a process is killed, we
must free it immediately. We could maybe propose a workaround to allow
the users to increase the refcount themself (as needed for #248), but
it's much easier to convert your code to C++ than getting the manual
refcounting right, I'd say. Sorry...

The fix to #248 leads to invalid accesses detected by valgrind when
applied to C/MSG.
teshsuite/msg/process-kill/process-kill.c
teshsuite/msg/process-kill/process-kill.tesh