Api: synchronous_stream_scope
Api members in the synchronous_stream_scope family.
| Member |
|---|
synchronous_stream_scope / f_synchronous_stream_scope |
synchronous_stream_scope_close |
synchronous_stream_scope_open / f_synchronous_stream_scope_open |
synchronous_stream_scope / f_synchronous_stream_scope
fn f_synchronous_stream_scope(self, stream: &Stream) -> Result<SynchronousStreamScope>
fn synchronous_stream_scope(self, stream: &Stream) -> SynchronousStreamScope
The synchronous-stream scope as a drop guard: every op this thread
dispatches waits for completion before the dispatch returns, and
stream runs one task at a time, until the returned
SynchronousStreamScope drops (on this same thread). Open it on a
quiescent stream (synchronize first); bind it to a named local.
synchronous_stream_scope_close
fn synchronous_stream_scope_close(self, scope: &SynchronousStreamScope)
Wraps api-table member synchronous_stream_scope_close.
exit: restores the mode this thread had at open, and frees the handle (NULL is a no-op)
synchronous_stream_scope_open / f_synchronous_stream_scope_open
fn f_synchronous_stream_scope_open(self, stream: &Stream) -> Result<SynchronousStreamScope>
fn synchronous_stream_scope_open(self, stream: &Stream) -> SynchronousStreamScope
Wraps api-table member synchronous_stream_scope_open.
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