zephyr/doc/kernel
Tomasz Bursztyka 55fdd1fd33 device: Provide generic API to handle synchronous calls in drivers
Introduce the device_sync_call_t object type and its API.

This object type allows one thread to perform synchronous calls into a
driver. Only one thread can do such calls per instance of the
device_sync_call_t object since it makes a global record of what type of
thread is waiting on it.

Based on an idea from Dmitriy Korovkin and Peter Mitsis, moving their
proposal to a more generic API provides the solution for all device
drivers that exposes synchronous API in an interrupt based
implementation.

Change-Id: I793fac76645396bf4eb6be38b5a130ac6bde8f73
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2016-02-05 20:24:57 -05:00
..
common timer: Remove deprecated routines 2016-02-05 20:24:55 -05:00
devices device: Provide generic API to handle synchronous calls in drivers 2016-02-05 20:24:57 -05:00
microkernel doc: Update descriptions for semaphore APIs 2016-02-05 20:24:53 -05:00
nanokernel irq: removes priority parameter from IRQ_CONFIG macro 2016-02-05 20:24:57 -05:00
networking doc: Replace bt_init() with bt_enable() 2016-02-05 20:24:32 -05:00
overview doc: Edits to the Overview and kernel primer 2016-02-05 20:24:36 -05:00
kernel.rst device: Provide generic API to handle synchronous calls in drivers 2016-02-05 20:24:57 -05:00