cray_upc_thread_region_begin

Date:

04-03-2017

NAME

cray_upc_thread_region_begin - Register a thread as a member of a thread region

SYNONPSYS

#include <upc_cray.h>

void cray_upc_thread_region_begin (int parent_tid);

IMPLEMENTATION

Cray Linux Environment (CLE)

DESCRIPTION

The cray_upc_thread_region_begin function registers the calling thread as a member of a thread region. The parent_tid value that was provided by cray_upc_thread_region_prologue in the parent must be provided to this function. Every thread with the same parent_tid value will belong to the same thread region. Only registered member threads that have called cray_upc_thread_region_begin may issue UPC operations while a thread region exists.

RETURN VALUES

None

SEE ALSO

cray_upc_thread_region_prologue(3c), cray_upc_thread_region_end(3c), cray_upc_thread_region_epilogue(3c)