[Previous] [Next] [Up] [Home] S3D Pascal Bindings

S3DTK_EnterCritical

Serialize access to S3D among threads.

Syntax:

function S3DTK_EnterCritical: ULONG; cdecl;

Returns:

S3DTK_OK if successful, S3DTK_ERR otherwise.

Description:

Together with S3DTK_ReleaseCritical this can be used to synchronize calls between threads using S3D. Note that there must not be any OS calls between S3DTK_EnterCritical and S3DTK_ReleaseCritical.

Unit: S3DTK

See Also:

S3DTK_ReleaseCritical


[Previous] [Next] [Up] [Home] S3D Pascal Bindings