PK_THREAD_lock_partitions_r_t   

struct PK_THREAD_lock_partitions_r_s
    {
    PK_lock_status_t status;
    int              n_locked_partitions;
    PK_PARTITION_t  *locked_partitions;
    int              n_unavailable_partitions;
    PK_PARTITION_t  *unavailable_partitions;
    };
typedef struct PK_THREAD_lock_partitions_r_s PK_THREAD_lock_partitions_r_t;


This structure contains return arguments for PK_THREAD_lock_partitions.

Used in:

PK_THREAD_lock_partitions
PK_THREAD_lock_partitions_r_f


Description of fields:

'status'                    The status of the locking operation.

'n_locked_partitions'       The number of partitions in the
                            'locked_partitions' array.

'locked_partitions'         Which of the specified 'partitions' are now
                            locked to the calling thread, provided that
                            the 'want_locked_partitions' option is set to
                            PK_LOGICAL_true.

'n_unavailable_partitions'  The number of partitions in the
                            'unavailable_partitions' array.

'unavailable_partitions'    Which of the specified 'partitions' are
                            currently unavailable, provided that the
                            'want_unavailable_partitions' option is set
                            to PK_LOGICAL_true.

Any space allocated by Parasolid within this structure may be freed by
calling PK_THREAD_lock_partitions_r_f.