Device.poll - multiple declarations

Function Device.poll

Check for resource cleanups and mapping callbacks.

bool poll (
  std.typecons.Flag!("forceWait") forceWait = Flag.no
) @trusted const;

Parameters

NameDescription
forceWait Whether or not the call should block.

Returns

true if the queue is empty, or false if there are more queue submissions still in flight.

Function Device.poll

Check for resource cleanups and mapping callbacks.

bool poll (
  Queue queue,
  ulong submissionIndex,
  std.typecons.Flag!("forceWait") forceWait = Flag.no
) @trusted const;

Parameters

NameDescription
queue The Queue to poll.
submissionIndex
forceWait Whether or not the call should block.

Returns

true if the queue is empty, or false if there are more queue submissions still in flight.