setEmotion is not thread safe #138
Labels
domain-software
Related to Software
prj-ergocub
Related to ErgoCub Project
team-fix
Related to Team Fix
I was checking the code, and I noticed that if I call setEmotion from code repeatedly, there might be race conditions. In fact, subsequent calls to
setEmotion
might change the values ofisTransition
andcommand
while they are being used inupdateModule
cc @Nicogene @martinaxgloria
The text was updated successfully, but these errors were encountered: