Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > media > contrib-release > by-pkgid > 8079d983ecf371717db799dd75bd56c2 > files > 19

libopenrm1-1.5.2-2mdv2007.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html><head><title>OpenRM - RM Library (rmcr.c)</title></head>
<body bgcolor=white fgcolor=black>
<table width="100%" border=2 cellspacing=0 cellpadding=0 bgcolor="khaki" valign="center">
<th><img src="./images/ormsg.gif">
</th>
</table>
<spacer type=vertical size=15>
<h2>Index of OpenRM - RM Library</h2>
<spacer type=vertical size=15>
<a name="rmPipeBarrierCreateCR"> 
<pre><b>
 RMenum rmPipeBarrierCreateCR (RMpipe *toModify, int barrierNumber)
</b></pre>
<pre>
 RMpipe *toModify - a handle to an RMpipe to be modified.
 int barrierNumber - an integer value specifying a barrier number.
</pre>
<menu><P>
 (For use with Chromium only)
 Use this routine to create a named barrier. The barrier is executed by
 calling rmPipeBarrierExecCR(). Chromium barriers are intended to be used to
 synchronize execution of OpenGL streams on crservers.
</P>
<P>
 Chromium barriers, when created, require an integer value indicating the
 number of streams that will be participating in the barrier. This integer
 value is provided automatically by this routine. Use the routine
 rmPipeSetCommSize(), prior to calling rmPipeCreateBarrierCR(), to set
 the number of crservers that will be participating in execution of the
 barrier.
</P>
<P>
 Chromium barriers, when executed, synchronize execution of OpenGL code
 in the crservers. They do not block the application code.
</P>
<P>
 This routine returns RM_CHILL upon success. This routine will return
 RM_WHACKED if the input RMpipe is NULL, or if the size of the communication
 collective is zero (use rmPipeSetCommSize to set the size of the collective).
 This routine does not check for creation of duplicate barriers.
</P></menu>
<i>librm library source file: rmcr.c </i><hr width="75%">
<a name="rmPipeBarrierExecCR"> 
<pre><b>
 RMenum rmPipeBarrierExecCR (RMpipe *toUse, int barrierNumber)
</b></pre>
<pre>
 RMpipe *toUse - a handle to an RMpipe to be used.
 int barrierNumber - an integer value specifying a barrier number.
</pre>
<menu><P>
 (For use with Chromium only)
 Use this routine to issue a "barrier execute" command to Chromium. 
 Chromium barriers are intended to be used to synchronize execution of
 OpenGL streams on crservers.
</P>
<P>
 Chromium barriers, when created, require an integer value indicating the
 number of streams that will be participating in the barrier. This integer
 value is provided automatically by this routine. Use the routine
 rmPipeSetCommSize(), prior to calling rmPipeBarrierCreateCR(), to set
 the number of crservers that will be participating in execution of the
 barrier.
</P>
<P>
 Chromium barriers, when executed, synchronize execution of OpenGL code
 in the crservers. They do not block the application code.
</P>
<P>
 This routine returns RM_CHILL upon success, or RM_WHACKED if the input
 RMpipe is NULL. This routine does not check for creation of duplicate
 barriers.
</P></menu>
<i>librm library source file: rmcr.c </i><hr width="75%">
</body></html>