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:
attr attr to associate space with.
space a 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:
attr attr to associate space with.
space storarage for the space to be passed back
Returns:
  • 0 on success
See also:
Globus Callback Spaces


about globus | globus toolkit | dev.globus

Comments? webmaster@globus.org