Home | Previous Page | Next Page   Database Access > Working with XA-Compliant External Data Sources > Creating User-Defined XA-Support Routines > 3 3 3

The xa_complete( ) function

3

The xa_complete( ) function 3waits for an asynchronous operation to complete. If an operation 3is still pending, xa_complete( ) waits for 3the completion and returns the status.

3

The syntax for the function is: 3

3
mint xa_complete (char  *handle,      /* IN*/
3              int * retval,  /* OUT */
3           mint rmid,       /* IN */
3           int4 flags)     /* IN */
3 333333333333333333333333333
Table 82. xa_complete( ) Parameters
Parameter Description
handle Handle returned by the xa_ call
retval Return value of the xa_ call 3that returned handle
rmid Unique resource manager identifier
flags 3

TMNOFLAGS, which indicates no flags

3

For valid return values, refer to X/Open information, including Distributed Transaction Processing: The XA Specification.

3

3 3
Note:
3
Currently Dynamic Server does not call the xa_complete( ) function 3because Dynamic Server does not support asynchronous completion.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]