Ashet OS

syscall: ashet.overlapped.await_completion

Documentation

Awaits one or more scheduled asynchronous operations and returns the number of completed elements.

The kernel will fill out completed up to the returned number of elements. All other values are undefined.

Note:

For blocking operations, this function will suspend the current thread until the request has been completed.

Related Elements:

@ref await_completion_of

Inputs

completed: []*overlapped.ARC
options: Await_Options

Outputs

completed_count: usize

Errors

Unscheduled