commit | f87c4c674395865dee196e137dad158efe582860 | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Tue Oct 17 11:34:21 2017 +0300 |
committer | Anas Nashif <nashif@linux.intel.com> | Wed Oct 18 13:02:52 2017 -0400 |
tree | f007ac16a522ef2b107c416637766e2809831661 | |
parent | 5cbfa397c59fdf25c26f5f507a087634a5bb128c [diff] |
queue: k_queue_get: Fix NULL return k_queue_get shall never return NULL when timeout is K_FOREVER which can happen when a higher priority thread cancel/take an item before the waiting thread. Fixes issue #4358 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>