Skip to main content

synchronous_stream_scope

family

Declared in clika_rt/clika_rt_core.h.

Members​

NameDescription
clika_rt_synchronous_stream_scope
synchronous_stream_scope_closeexit: restores the mode this thread had at open, and frees the handle (NULL is a no-op)
synchronous_stream_scope_openenter: every op this thread dispatches on stream waits for completion before the dispatch returns, until close; open it only on a quiescent stream; close on the SAME thread

Type aliases​

using clika_rt_synchronous_stream_scope​

using clika_rt_synchronous_stream_scope = struct clika_rt_synchronous_stream_scope

Declared in clika_rt/clika_rt_core.h, line 371

Functions​

synchronous_stream_scope_close​

void(* synchronous_stream_scope_close)(clika_rt_synchronous_stream_scope *scope)

exit: restores the mode this thread had at open, and frees the handle (NULL is a no-op)

Declared in clika_rt/clika_rt_core.h, line 771

synchronous_stream_scope_open​

clika_rt_error*(* synchronous_stream_scope_open)(clika_rt_stream *stream, clika_rt_synchronous_stream_scope **out)

enter: every op this thread dispatches on stream waits for completion before the dispatch returns, until close; open it only on a quiescent stream; close on the SAME thread

Declared in clika_rt/clika_rt_core.h, line 764