RETURN-CODE Values For Synchronization Routines

The following values are provided as RETURN-CODE values from the synchronization routines:

0 No error was encountered.
1000 Memory allocation error.
1001 The handle is invalid. The handle is not a valid handle for the synchronization object, and no operations are valid on it. It is possible that the handle specified was once valid but it has been closed and memory reused.
1002 The handle has been closed. No operations are valid on this handle. The handle was once valid but has since been closed.
1007 A system error was encountered. The last operation caused a system error in low level object manipulation.
1008 Threading not supported in this run-time system. A threaded application attempted to use a multi-threading routine while running with a non-threaded run-time system.
1009 Invalid parameter passed into a multi-threading library routine. A parameter has been detected as being out of valid ranges or inconsistent with the library routine.
1010 No resources available. A semaphore or mutex cannot be acquired because its count is zero and the user requested no automatic wait.

or:

An event is not posted and the user has no wait on the CBL_EVENT_WAIT call.

Related Topics: