zephyr/include
Paul Sokolovsky 16bb3ec7ec kernel: queue, fifo: Add peek_head/peek_tail accessors
As explained in the docstrings, a usecase behind these operations is
when other container objects are put in a fifo. The typical
processing iteration make take just some data from a container at
the head of fifo, with the container still being kept at the fifo,
unless it becomes empty, and only then it's removed. Similarly with
adding more data - first step may be to try to add more data to a
container at the tail of fifo, and only if it's full, add another
container to a fifo.

The specific usecase these operations are added for is network
subsystem processing, where net_buf's and net_pkt's are added
to fifo.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2017-06-28 16:07:55 +03:00
..
arch dts: x86: Add dts support for x86 2017-06-22 10:23:39 -05:00
bluetooth Bluetooth: GATT: Fix aligment of bt_gatt_ccc_cfg and _bt_gatt_ccc 2017-06-21 08:56:00 +03:00
crypto
debug kernel: remove gdb_server 2017-06-19 14:29:40 -04:00
display
drivers drivers: remove unused headers for nsim serial 2017-06-18 09:24:04 -05:00
fs
linker linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
logging
misc slist: Make sys_slist_find_and_remove return bool 2017-06-15 19:28:23 +03:00
net net: context: Allow to put context into FIFO at expense of user_data 2017-06-28 16:07:55 +03:00
shell shell: Add define to _SHELL_H_ 2017-06-09 18:54:27 -04:00
toolchain toolchain/common.h: deprecate __stack 2017-06-09 18:53:28 -04:00
usb
zephyr
adc.h
aio_comparator.h
atomic.h
cache.h
clock_control.h
console.h
counter.h
crc16.h
device.h
disk_access.h
dma.h
eth.h
flash.h
fs.h
gpio.h
i2c.h
init.h
ipm.h
irq_offload.h
irq.h
kernel_version.h
kernel.h kernel: queue, fifo: Add peek_head/peek_tail accessors 2017-06-28 16:07:55 +03:00
pinmux.h
power.h
pwm.h
random.h
rtc.h
sensor.h
shared_irq.h
spi_legacy.h api: New SPI API 2017-05-19 18:52:25 -04:00
spi.h api/spi: Change transceive functions signature 2017-06-01 10:49:30 -04:00
sw_isr_table.h
sys_clock.h
sys_io.h
toolchain.h
uart.h drivers: serial: Clarification for uart_fifo_fill()/read() calls 2017-05-30 20:53:13 -04:00
watchdog.h
zephyr.h