struct PK_SESSION_smp_o_s
{
int o_t_version; --- version number
PK_thread_t thread_format; --- (PK_thread_per_processor_c)
int n_threads; --- (1)
PK_LOGICAL_t on_single_processor; --- (PK_LOGICAL_false)
};
typedef struct PK_SESSION_smp_o_s PK_SESSION_smp_o_t;
This option structure is supplied to PK_SESSION_set_smp.
Description of fields:
thread_format In conjunction with the n_threads field,
determines the number of threads to be
invoked. Permitted values are
PK_thread_disabled_c
PK_thread_per_processor_c
PK_thread_absolute_c
n_threads The number of threads to be invoked for
symmetric multi-processing (SMP). The effect
of this value is dependent on the value of
the thread_format field.
This field may only be set to zero if the
thread_format field is set to the value,
PK_thread_disabled_c.
on_single_processor PK_LOGICAL_true if SMP is to be enabled on
single processor platforms.