glWaitSync

instruct the GL server to block until the specified sync object becomes signaled

Signature

glWaitSync( GLsync ( sync ) , GLbitfield ( flags ) , GLuint64 ( timeout ) )-> void
glWaitSync( sync , flags , timeout )

Parameters

VariablesDescription
sync
Specifies the sync object whose status to wait on.
flags
A bitfield controlling the command flushing behavior. flags may be zero.
timeout
Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED .