commit | f2b1a4bb647f7a5cf3e491dffb72f179acad2507 | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Wed Jul 25 09:40:32 2018 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Feb 08 14:49:39 2019 -0500 |
tree | 033c7351523a928551b67cbf387c67c9fa7b867c | |
parent | 1bf9bd04b1bba2ed72d7360d98e3904836429147 [diff] |
kernel/poll: Spinlockify Poll gets a single subsystem lock for now. The existing locking in Ben's code is subtle, being used both for latency control and for critical section protection. So getting each k_poll_event to use a separate lock will require care and a little logic change. Do the simple version for now, which still works to decouple it from the global lock. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>