arrow_back_ios Back to List


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 offloadThreadJoinWithSleep(unsigned int threadID, unsigned int us)

Joins an Offload block to the current running thread.

This call does not manage the use of fibers. If joining cannot be done instantly, the calling PPU thread will sleep for us microseconds.

A non-zero return value indicates an error has occured. If an invalid threadID is provided, behaviour is undefined.