SE_ptable_set_concurrency

Establishes point table concurrency control for threaded client applications

Usage syntax

LONG SE_ptable_set_concurrency (SE_PTABLE ptable, LONG policy);

Parameters
ptable The handle to a point table
policy The concurrency policy
Description

SE_ptable_set_concurrency sets the concurrency policy for a particular point table. The concurrency policy affects how calls to the API for this point table behave in a multithreaded environment.

The policies for concurrency are:

The environment set by SE_ptable_set_concurrency applies to subsequent calls to SE_ptable_set_concurrency. For safety in a multithreaded environment, call SE_ptable_set_concurrency on the point table before passing it to any other thread than the one that created the point table.

Returns

SE_SUCCESS
SE_FAILURE

SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_OUT_OF_MUTEXES