 |
PK_DEBUG_try_smp_t |
|
typedef int PK_DEBUG_try_smp_t;
Used in:
PK_DEBUG_try_error_handler_o_t
This datatype controls what kind of SMP, if any, is used with
PK_DEBUG_try_error_handler.
Parasolid has two internal methods of setting worker threads to
work. Method A is used for most Parasolid modelling operations
that can use SMP. Method B is only used for a few operations.
There is no way to choose which method should be used for
operations: the correct choice depends on the algorithm used
within Parasolid. This datatype makes the two methods available
strictly in the interests of allowing testing with
PK_DEBUG_try_error_handler to be as complete as possible.
It has values:
PK_DEBUG_try_smp_no_c No SMP will be used. The function supplied to
PK_DEBUG_try_error_handler will be called from
the thread that was used by the application to
call PK_DEBUG_try_error_handler.
PK_DEBUG_try_smp_A_c Method A SMP will be used. The function
supplied to PK_DEBUG_try_error_handler will
be called from one or more worker threads within
Parasolid. The number of these threads depends
on the settings made with PK_SESSION_set_smp.
PK_DEBUG_try_smp_B_c As for PK_DEBUG_try_smp_A_c, but method B SMP
will be used.