PK_THREAD_chain_start_o_t   

struct PK_THREAD_chain_start_o_s
    {
    int               o_t_version; --- version number
    int               length;      --- maximum length of chain links (0)
    PK_THREAD_local_t local_level; --- determines which classes, data, and/or
                                   --- functions have thread-local scope
                                   --- (PK_THREAD_local_none_c)
    };
typedef struct PK_THREAD_chain_start_o_s PK_THREAD_chain_start_o_t;


This structure contains optional arguments for PK_THREAD_chain_start.

Used in:

PK_THREAD_chain_start


Description of fields:


'length'      Maximum number of Parasolid functions in each chain link. The
              default value of 0 means there is no maximum. Setting a value of
              1 means that each Parasolid function splits the chain and
              executes in its own individual link.

'local_level' This option determines which classes, data, and/or functions
              have thread-local scope.

              Permitted values are:
                  PK_THREAD_local_none_c
                  PK_THREAD_local_versioning_c

              The recommended value is PK_THREAD_local_versioning_c. This
              value allows functions within the thread chain to set thread-
              local versioning controls without affecting operations in other
              threads. In addition, if this value is set then calls to these
              functions made in other threads have no effect on operations
              within this thread chain.

              The default value is PK_THREAD_local_none_c. This value
              preserves the behaviour of legacy code.