Skip to main content
summaryrefslogtreecommitdiffstats
blob: a0b410b4eda68f8199dd244e6aec246cb631c91c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<h2 >The <code>upc_threadof</code> function &nbsp;&nbsp; </h2>

<h4>Synopsis</h4>
<p>
<pre> 
    #include &lt;upc.h&gt;
    size_t upc_threadof(shared void *ptr);                        
</pre>
<p>
<h4>Description</h4>
<p>
The <code>upc_threadof </code>function returns the index of the thread that has affinity
to the shared object pointed to by <code>ptr</code>.
<p>
If <code>ptr</code> is a null pointer-to-shared, the function returns 0.

<p>&nbsp
<p>&nbsp
<p><a href="terms.html">Terms, definitions, and symbols</a><br>
<p><a href="index.html">Back to index of all UPC functions</a>

Back to the top