a37a981b21
Each work_q object gets a separate spinlock to synchronize access instead of the global lock. Note that there was a recursive lock condition in k_delayed_work_cancel(), so that's been split out into an internal unlocked version and the API entry point that wraps it with a lock. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
40 lines
826 B
C
40 lines
826 B
C
/*
|
|
* Copyright (c) 2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
*
|
|
* @brief Header files included by kernel.h.
|
|
*/
|
|
|
|
#ifndef ZEPHYR_INCLUDE_KERNEL_INCLUDES_H_
|
|
#define ZEPHYR_INCLUDE_KERNEL_INCLUDES_H_
|
|
|
|
#include <stddef.h>
|
|
#include <zephyr/types.h>
|
|
#include <limits.h>
|
|
#include <toolchain.h>
|
|
#include <linker/sections.h>
|
|
#include <atomic.h>
|
|
#include <misc/__assert.h>
|
|
#include <sched_priq.h>
|
|
#include <misc/dlist.h>
|
|
#include <misc/slist.h>
|
|
#include <misc/sflist.h>
|
|
#include <misc/util.h>
|
|
#include <misc/mempool_base.h>
|
|
#include <kernel_version.h>
|
|
#include <random/rand32.h>
|
|
#include <kernel_arch_thread.h>
|
|
#include <syscall.h>
|
|
#include <misc/printk.h>
|
|
#include <arch/cpu.h>
|
|
#include <misc/rb.h>
|
|
#include <sys_clock.h>
|
|
#include <spinlock.h>
|
|
|
|
#endif /* ZEPHYR_INCLUDE_KERNEL_INCLUDES_H_ */
|