Skip to content

Conversation

@stephanosio
Copy link
Member

This commit removes the timeout_q from the struct z_kernel since it
is no longer used.

Note that the new kernel timeout implementation introduced in the
commit 987c0e5 uses timeout_list
global variable in place of it.

Signed-off-by: Stephanos Ioannidis [email protected]

This commit removes the `timeout_q` from the `struct z_kernel` since it
is no longer used.

Note that the new kernel timeout implementation introduced in the
commit 987c0e5 uses `timeout_list`
global variable in place of it.

Signed-off-by: Stephanos Ioannidis <[email protected]>
@onkwon
Copy link

onkwon commented Aug 24, 2021

What about instead removing timeout_list static variable in kernel/timeout.c keeping the list(spinlock as well) in _kernel.timeout_q. I think, this helps to maintain kernel data structure easier.

@cfriedt cfriedt merged commit a77e756 into zephyrproject-rtos:main Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: API Changes to public APIs area: Kernel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants