nanokernel: add CONFIG_NANO_TIMEOUTS
Allow configuring nano timeouts. They are disabled by default. Change-Id: I9db0b632681ae149295acd3ed81fccdee2c4f91a Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
924b6e563d
commit
c6948611cb
1 changed files with 10 additions and 0 deletions
|
@ -77,6 +77,16 @@ config CONTEXT_CUSTOM_DATA
|
|||
This option allows each task and fiber to store 32 bits of custom data,
|
||||
which can be accessed using the context_custom_data_xxx() APIs.
|
||||
|
||||
config NANO_TIMEOUTS
|
||||
bool
|
||||
prompt "Enable timeouts on nanokernel objects"
|
||||
default n
|
||||
depends on SYS_CLOCK_EXISTS
|
||||
help
|
||||
Allow fibers and tasks to wait on nanokernel objects with a timeout, by
|
||||
enabling the nano_xxx_wait_timeout APIs, and allow fibers to sleep for a
|
||||
period of time, by enabling the fiber_sleep API.
|
||||
|
||||
config NANO_TIMERS
|
||||
bool
|
||||
prompt "Enable nanokernel timers"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue