commit | b8ff63e3c7a2f287d5686b429b3bcd3b3eedb0c2 | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Thu Jan 23 12:55:04 2020 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Mon Feb 03 09:31:56 2020 -0500 |
tree | 868e206cb05c0f0a66cc3f6757535b22e135bab7 | |
parent | 5b85d6da6a2943f4dd08ee6e140ef1238b0ae124 [diff] |
kernel/sem: Fix SMP race This had the same race that queue did: you have to be 100% done with state management before calling z_ready_thread(), because another CPU can pick up the thread before the return value was set. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>