You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							67 lines
						
					
					
						
							4.7 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							67 lines
						
					
					
						
							4.7 KiB
						
					
					
				
								<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
							 | 
						|
								<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
							 | 
						|
								<title>tbb::interface5::reader_writer_lock::scoped_lock Class Reference</title>
							 | 
						|
								<link href="doxygen.css" rel="stylesheet" type="text/css">
							 | 
						|
								<link href="tabs.css" rel="stylesheet" type="text/css">
							 | 
						|
								</head><body>
							 | 
						|
								<!-- Generated by Doxygen 1.4.7 -->
							 | 
						|
								<div class="tabs">
							 | 
						|
								  <ul>
							 | 
						|
								    <li><a href="index.html"><span>Main Page</span></a></li>
							 | 
						|
								    <li><a href="modules.html"><span>Modules</span></a></li>
							 | 
						|
								    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
							 | 
						|
								    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
							 | 
						|
								    <li><a href="files.html"><span>Files</span></a></li>
							 | 
						|
								    <li><a href="pages.html"><span>Related Pages</span></a></li>
							 | 
						|
								  </ul></div>
							 | 
						|
								<div class="tabs">
							 | 
						|
								  <ul>
							 | 
						|
								    <li><a href="annotated.html"><span>Class List</span></a></li>
							 | 
						|
								    <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
							 | 
						|
								    <li><a href="functions.html"><span>Class Members</span></a></li>
							 | 
						|
								  </ul></div>
							 | 
						|
								<div class="nav">
							 | 
						|
								<a class="el" href="a00428.html">tbb</a>::<b>interface5</b>::<a class="el" href="a00330.html">reader_writer_lock</a>::<a class="el" href="a00331.html">scoped_lock</a></div>
							 | 
						|
								<h1>tbb::interface5::reader_writer_lock::scoped_lock Class Reference</h1><!-- doxytag: class="tbb::interface5::reader_writer_lock::scoped_lock" -->The scoped lock pattern for write locks.  
							 | 
						|
								<a href="#_details">More...</a>
							 | 
						|
								<p>
							 | 
						|
								<code>#include <reader_writer_lock.h></code>
							 | 
						|
								<p>
							 | 
						|
								<a href="a00117.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
							 | 
						|
								<tr><td></td></tr>
							 | 
						|
								<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
							 | 
						|
								<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cf19f20e082887c1bb0ba6b0911c3583"></a><!-- doxytag: member="tbb::interface5::reader_writer_lock::scoped_lock::scoped_lock" ref="cf19f20e082887c1bb0ba6b0911c3583" args="(reader_writer_lock &lock)" -->
							 | 
						|
								 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00331.html#cf19f20e082887c1bb0ba6b0911c3583">scoped_lock</a> (<a class="el" href="a00330.html">reader_writer_lock</a> &lock)</td></tr>
							 | 
						|
								
							 | 
						|
								<tr><td class="mdescLeft"> </td><td class="mdescRight">Construct with blocking attempt to acquire write lock on the passed-in lock. <br></td></tr>
							 | 
						|
								<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="70246e0260493625ff956fa5926fc71f"></a><!-- doxytag: member="tbb::interface5::reader_writer_lock::scoped_lock::~scoped_lock" ref="70246e0260493625ff956fa5926fc71f" args="()" -->
							 | 
						|
								 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00331.html#70246e0260493625ff956fa5926fc71f">~scoped_lock</a> ()</td></tr>
							 | 
						|
								
							 | 
						|
								<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor, releases the write lock. <br></td></tr>
							 | 
						|
								<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aea1cb0e88be9874f0f72e52063d0b90"></a><!-- doxytag: member="tbb::interface5::reader_writer_lock::scoped_lock::operator new" ref="aea1cb0e88be9874f0f72e52063d0b90" args="(size_t s)" -->
							 | 
						|
								void * </td><td class="memItemRight" valign="bottom"><b>operator new</b> (size_t s)</td></tr>
							 | 
						|
								
							 | 
						|
								<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="db804a05fcd37f7e81b94752e45039f7"></a><!-- doxytag: member="tbb::interface5::reader_writer_lock::scoped_lock::operator delete" ref="db804a05fcd37f7e81b94752e45039f7" args="(void *p)" -->
							 | 
						|
								void </td><td class="memItemRight" valign="bottom"><b>operator delete</b> (void *p)</td></tr>
							 | 
						|
								
							 | 
						|
								<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
							 | 
						|
								<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="38eb53abbe72543f5967c63aa95b403e"></a><!-- doxytag: member="tbb::interface5::reader_writer_lock::scoped_lock::reader_writer_lock" ref="38eb53abbe72543f5967c63aa95b403e" args="" -->
							 | 
						|
								class </td><td class="memItemRight" valign="bottom"><b>reader_writer_lock</b></td></tr>
							 | 
						|
								
							 | 
						|
								</table>
							 | 
						|
								<hr><a name="_details"></a><h2>Detailed Description</h2>
							 | 
						|
								The scoped lock pattern for write locks. 
							 | 
						|
								<p>
							 | 
						|
								Scoped locks help avoid the common problem of forgetting to release the lock. This type also serves as the node for queuing locks. 
							 | 
						|
								<p>
							 | 
						|
								<hr>The documentation for this class was generated from the following file:<ul>
							 | 
						|
								<li>reader_writer_lock.h</ul>
							 | 
						|
								<hr>
							 | 
						|
								<p></p>
							 | 
						|
								Copyright © 2005-2013 Intel Corporation.  All Rights Reserved.
							 | 
						|
								<p></p>
							 | 
						|
								Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
							 | 
						|
								registered trademarks or trademarks of Intel Corporation or its
							 | 
						|
								subsidiaries in the United States and other countries.
							 | 
						|
								<p></p>
							 | 
						|
								* Other names and brands may be claimed as the property of others.
							 |