[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]


cma_time_get_expiration

Obtains a cma_t_date_time value representing a desired expiration time.

Syntax

cma_time_get_expiration(
                         expiration,
                         interval);
 


Argument Data Type Access

expiration opaque cma_t_date_time write interval single precision read floating point


C Binding

#include 

void cma_time_get_expiration ( cma_t_date_time *expiration, cma_t_interval interval);

Arguments

expiration
Variable that receives the cma_t_date_time value representing the expiration time.
interval
Number of seconds to add to the current system time. The result is the time that the timed wait should expire.

Description

This routine adds a specified interval to the current absolute system time and returns a new absolute time. This new absolute time can be used as the expiration time in a call to cma_cond_timed_wait.

Exceptions

cma_e_badparam
cma_e_existence
cma_e_use_error



[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]