The upc_threadof function   

Synopsis

 
    #include <upc.h>
    size_t upc_threadof(shared void *ptr);                        

Description

The upc_threadof function returns the index of the thread that has affinity to the shared object pointed to by ptr.

If ptr is a null pointer-to-shared, the function returns 0.

 

 

Terms, definitions, and symbols

Back to index of all UPC functions