55fdd1fd33
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> |
||
---|---|---|
.. | ||
synchronous_call.rst |