blob: 1568a69b2d81f40f4fe943ac8100f865650a7c85 [file] [log] [blame]
<html>
<head>
<title>shmem_short_g</title>
</head>
<h2 id="top">shmem_short_g</h2>
<h4>Purpose</h4>
<p>Transfers one data item from a remote Processing Element (PE).
</p>
<h4>C syntax</h4>
<pre>
#include &lt;shmem.h&gt;
short shmem_short_g(short *addr, int pe);
</pre>
<h4>Parameters</h4>
<dl>
<dt class="bold">INPUT</dt>
<dd>
</dd>
<dt class="bold ">addr</dt>
<dd>The remotely accessible data object which will receive the data on the remote PE.
</dd>
<dt class="bold">pe</dt>
<dd>Processing element number of the remote PE.
</dd>
</dl>
<h4>Description</h4>
<div class="ledi">
<p>This routine provides a very low latency remote read write capability for single elements
of most basic types</p>
<p>The function shmem_short_g() transfers an integer data item from a remote PE.</p>
<h4>IBM NOTES</h4>
<div class="ledi">
<dl>
<p>Please refer to Atomicity and Coherency section for atomicity and coherence model in the OpenSHMEM documentation</p>
</dd>
</dl>
<h4>C examples</h4>
<pre>
</pre>
<h4>Related information</h4>
<p>Subroutines: shmem_get, shmem_iget
</p>
<hr><a href="apiIndex.html">OpenSHMEM API Index</a>
</html>