I noticed during running the smpsignal test that it sometimes succeeds
and sometimes fails when running with qemu.
It looks like the signal handler sometimes starts execution faster than
the sender can update the state variable.

This patch updates the variable right before sending, so that the state
always has the correct value for the handler to process.

Best regards,

   Jan

Jan Sommer (1):
  smpsignal01: Change state before sending the signal

 testsuites/smptests/smpsignal01/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.12.3

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to