Previous

sec_rgy_wait_until_consistent(3sec)

Blocks the caller while prior updates are propagated to the registry replicas

Synopsis

#include <dce/misc.h>

boolean32 sec_rgy_wait_until_consistent(

sec_rgy_handle_t context,
error_status_t *status);

Parameters

Input

context
The registry server handle associated with the master registry.

Output

status
A pointer to the completion status. On successful completion, status is assigned error_status_ok. Otherwise, it returns an error.

Description
The sec_rgy_wait_until_consistent( ) routine blocks callers until all prior updates to the master registry have been propagated to all active registry replicas.

Return Values
The routine returns TRUE when all active replicas have received the prior updates. It returns FALSE if at least one replica did not receive the updates.

Files

/usr/include/dce/misc.idl
The idl file from which dce/misc.h was derived.

Errors

The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.

sec_rgy_server_unavailable
The server for the master registry is not available.

sec_rgy_read_only
Either the master site is in maintenance mode or the site associated with the handle is a read-only (query) site.

error_status_ok
The call was successful.

Related Information
Functions: sec_intro(3sec)