lr_rendezvous
Creates a rendezvous point in the Vuser script.
int lr_rendezvous( char *rendezvous_name );
| Alphabetical Listing - C Language Utility Functions |
Arguments
| Name | Comments |
|---|---|
| rendezvous_name | The name of the rendezvous. |
The lr_rendezvous function creates a rendezvous point in a Vuser script. When this statement is executed, the Vuser program stops and waits for permission to continue.
This function can only be used in an action section, and not in vuser_init or vuser_end.
The difference between lr_rendezvous and lr_rendezvous_ex is that lr_rendezvous always returns zero.
Return Values
This function always returns zero.
Parameterization
You cannot use standard parameterization for any arguments in this function.
Example
In the following example, the lr_rendezvous function sets the Meeting rendezvous point. When all users that belong to the Meeting rendezvous arrive at the rendezvous point, they perform do_transaction simultaneously.
lr_rendezvous("Meeting");
/* application dependent transaction */
do_transaction();

