commit | a5ec72418c25522faeaf8dd75b493ea7a9fb75da | [log] [tgz] |
---|---|---|
author | Pieter De Gendt <pieter.degendt@basalte.be> | Mon Jun 28 11:30:54 2021 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Jun 29 11:27:54 2021 -0400 |
tree | ea06bf3052d88e0e331abf1e5e6d2d815187022a | |
parent | f6a7dce763e8dcdcdda6d9977fd327386f554f98 [diff] |
net: openthread: Convert API worker thread to a work queue Direct openthread API usage requires explicit locking, which is also used internally. Exposing a work queue through the openthread context allows work to be submitted without the need to block other threads. In particular with CONFIG_OPENTHREAD_MANUAL_START, application logic can offload work which otherwise would need to wait for the lock to become available. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>