diff options
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2018-09-07 11:47:06 -0400 |
---|---|---|
committer | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2018-09-07 16:37:47 -0400 |
commit | 2271b75fa9019a9ba10d38ea2cf53a2032b1d8fd (patch) | |
tree | a8fd73afcb4cafbc7223803408a571737648b930 /pc-bios | |
parent | 19b599f7664b2ebfd0f405fb79c14dd241557452 (diff) |
tests: Fix signalling race condition in TPM tests
This patch fixes a race condition and test failure where the main process
waits for the signal of a thread but the thread already sent that signal
via a condition. Since these signals are non-sticky, we need to introduce a
separate variable to make this signal sticky.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions