zephyr/include
Allan Stephens 6ac33f2b9f kernel: Introduce sys_thread_busy_wait() API
Provides a way for a fiber or task to busy wait for a specified
period of time. This is useful in situations where a delay needs
to be performed without switching execution to another context,
such as:

1) It would take longer to switch to another context and then switch
   back again than to simply busy wait.

2) A delay is required by the kernel's main task (i.e. the nanokernel's
   background task or the microkernel's idle task). This task is not
   allowed to voluntarily relinquish the CPU because this would leave
   the kernel with nothing to execute in its place.

Change-Id: Icbe28613014f659e9528893ae58f7b8008c18a61
Original-work-by: Jeff Blais <jeff.blais@windriver.com>
Further-adapted-by: Benjamin Walsh <benjamin.walsh@windriver.com>
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
2016-02-05 20:24:28 -05:00
..
arch x86: HACK force alignment for _k_task_list section 2016-02-05 20:24:23 -05:00
bluetooth Bluetooth: Disable parts of public API if not configured 2016-02-05 20:24:24 -05:00
drivers spi: intel: Move back private structures to the right locations 2016-02-05 20:24:27 -05:00
microkernel doxygen: fixed typos and parameter references 2016-02-05 20:24:23 -05:00
misc byteorder: Add all remaining helpers for both little and big endian 2016-02-05 20:24:27 -05:00
net net: Create separate net_buf pool for RX and TX use 2016-02-05 20:15:39 -05:00
toolchain toolchain: rename FUNC_ALIAS parameters 2016-02-05 20:15:27 -05:00
adc.h adc: adding API include file 2016-02-05 20:24:27 -05:00
atomic.h doxygen: javadoc style 2016-02-05 20:14:32 -05:00
device.h Fixed typo: unctions->functions 2016-02-05 20:15:34 -05:00
gpio.h gpio: add polarity and pull up/down config flags 2016-02-05 20:24:18 -05:00
i2c.h i2c: simplify API and driver_api with generic transfer function 2016-02-05 20:24:27 -05:00
init.h init: Add more verbose comment block 2016-02-05 20:24:20 -05:00
ipi.h ipi.h: introduce low-level inter-processor interrupt API 2016-02-05 20:24:17 -05:00
kernel_version.h version: Update version handling and code 2016-02-05 20:14:27 -05:00
linker-defs.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00
linker-tool-gcc.h toolchain: add support for iamcu toolchain 2016-02-05 20:14:38 -05:00
linker-tool.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00
microkernel.h doxygen: add defgroups to kernel services 2016-02-05 20:15:34 -05:00
nanokernel.h kernel: Introduce sys_thread_busy_wait() API 2016-02-05 20:24:28 -05:00
pinmux.h pinmux: Add API for pinmux driver 2016-02-05 20:24:19 -05:00
pwm.h doxygen: fixed typos and parameter references 2016-02-05 20:24:23 -05:00
section_tags.h Rename VXMICRO_ARCH_arc -> CONFIG_ARC 2016-02-05 20:14:16 -05:00
sections.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00
shared_irq.h drivers: add shared interrupt driver 2016-02-05 20:24:21 -05:00
spi.h spi: Add a utility pointer for the application on SPI callback 2016-02-05 20:24:27 -05:00
sw_isr_table.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00
sys_clock.h sys_clock: add some more useful time conversion macros 2016-02-05 20:24:28 -05:00
sys_io.h sys_io: Add memory bit manipulation functions 2016-02-05 20:15:28 -05:00
toolchain.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00