arrow_back_ios Back to List

offloadSetUSleepTime

Offload KB - offload-library

Old Content Alert

Please note that this is a old document archive and the will most likely be out-dated or superseded by various other products and is purely here for historical purposes.

Include: <liboffload>

int	offloadSetUSleepTime( unsigned int us);

Sets globally the amount of time to sleep a PPU thread for when checking for an Offload thread to complete. PPU threads can sleep during a join operation when the Offload block requested is still active. More than one sleep operation may occur per Join call.

The argument us is in microseconds. Runtime accuracy is not provided.

A non-zero return value indicates an error.