kernel: delete k_futex_init()
There's no need for a system call for this; futexes live in user memory and the initialization bit is ignored. It's sufficient to just do an atomic_set(). Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
0d9dab300e
commit
8753becbe1
3 changed files with 9 additions and 45 deletions
|
@ -2139,17 +2139,6 @@ struct z_futex_data {
|
|||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Initialize a futex.
|
||||
*
|
||||
* This routine initializes a futex object, prior to its first use.
|
||||
*
|
||||
* @param futex Address of the k_futex.
|
||||
*
|
||||
* @return N/A
|
||||
*/
|
||||
__syscall void k_futex_init(struct k_futex *futex);
|
||||
|
||||
/**
|
||||
* @brief Pend the current thread on a futex
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue