Example: lr_rendezvous_ex

In the following example, the lr_rendezvous_ex function sets the Meeting rendezvous point. When all users that belong to the Meeting rendezvous arrive at the rendezvous point, they continue simultaneously.

int rend_status;
if ((rend_status= lr_rendezvous_ex("Meeting")) != LR_REND_ALL_ARRIVED)
     lr_output_message("rendezvous unsuccessful %d", rend_status);
else
    lr_output_message("rendezvous successful %d", rend_status);