Globus Thread API

Functions


Function Documentation

int globus_condattr_setspace ( globus_condattr_t *  attr,
int  space 
)

Use this function to associate a space with a cond attr.

This will allow globus_cond_wait to poll the appropriate space (if applicable)

A condattr's default space is GLOBUS_CALLBACK_GLOBAL_SPACE

Parameters:
attrattr to associate space with.
spacea previously initialized space
Returns:
  • 0 on success
See also:
Globus Callback Spaces
int globus_condattr_getspace ( globus_condattr_t *  attr,
int *  space 
)

Use this function to retrieve the space associated with a condattr.

Parameters:
attrattr to associate space with.
spacestorarage for the space to be passed back
Returns:
  • 0 on success
See also:
Globus Callback Spaces