SUSE / libpulp

libpulp enables live patching in user space applications.
GNU Lesser General Public License v2.1
55 stars 11 forks source link

Fix deadlock testcase #98

Closed giulianobelinassi closed 2 years ago

giulianobelinassi commented 2 years ago

Deadlock testcase could fail depending of CPU usage because there is no way to detect if the program is unlocked. There is no way to solve this issue generally (i.e. it is equivalent to the halting problem), so only fails if trigger indeed deadlocks and never returns, exposing a deadlock in libpulp. If all attempts failed it should still be a success because it isn't a deadlocks.

Signed-off-by: Giuliano Belinassi gbelinassi@suse.de