zephyr/kernel/include
Youvedeep Singh d787e3c554 timer: k_timer_start should accept 0 as duration parameter.
k_timer_start(timer, duration, period) is API used to
start a timer. Currently duration parameters accepts
only positive number.
But a user may require to do some periodic activity
ASAP and start timer with 0 value. So this patch
allows 0 as minimum value of duration.
In this patch, when duration value is set as 0 then
timer expiration handler is called instead of submiting
this into timeout queue.

Jira: ZEP-2497

Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com>
2017-09-06 10:18:39 -07:00
..
gen_offset.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
kernel_offsets.h kernel: publish offsets to thread stack info 2017-05-13 15:14:41 -04:00
kernel_structs.h debug: add stack sentinel feature 2017-05-13 15:14:41 -04:00
ksched.h stack_sentinel: change cooperative check 2017-06-08 13:49:36 -05:00
nano_internal.h kernel: introduce opaque data type for stacks 2017-08-01 16:43:15 -07:00
offsets_short.h kernel/arch: streamline thread user options 2017-01-24 13:34:50 +00:00
timeout_q.h timer: k_timer_start should accept 0 as duration parameter. 2017-09-06 10:18:39 -07:00
wait_q.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00