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.
 
 
 
 

170 lines
9.3 KiB

<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title> </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content=" ">
<meta name="generator" content="docfx 2.59.4.0">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../styles/docfx.vendor.css">
<link rel="stylesheet" href="../styles/docfx.css">
<link rel="stylesheet" href="../styles/main.css">
<link rel="stylesheet" href="../styles/fix.css">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<meta property="docfx:navrel" content="../toc.html">
<meta property="docfx:tocrel" content="toc.html">
<meta property="docfx:rel" content="../">
<meta property="docfx:newtab" content="true">
</head> <body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../logo.svg" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list">Search Results for <span></span></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="IPA.Utilities.Async">
<h1 id="IPA_Utilities_Async" data-uid="IPA.Utilities.Async" class="text-break"></h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>
<div class="markdown level0 remarks"></div>
<h3 id="classes">Classes
</h3>
<h4><a class="xref" href="IPA.Utilities.Async.Coroutines.html">Coroutines</a></h4>
<section><p>A class providing coroutine helpers.</p>
</section>
<h4><a class="xref" href="IPA.Utilities.Async.SingleCreationValueCache-2.html">SingleCreationValueCache&lt;TKey, TValue&gt;</a></h4>
<section><p>A dictionary-like type intended for thread-safe value caches whose values are created only once ever.</p>
</section>
<h4><a class="xref" href="IPA.Utilities.Async.SingleThreadTaskScheduler.html">SingleThreadTaskScheduler</a></h4>
<section><p>A single-threaded task scheduler that runs all of its tasks on the same thread.</p>
</section>
<h4><a class="xref" href="IPA.Utilities.Async.Synchronization.html">Synchronization</a></h4>
<section><p>Utilities for inter-thread synchronization. All Locker method acquire their object immediately,
and should only be used with <span class="xref">langword_csharp_using</span> to automatically release them.</p>
</section>
<h4><a class="xref" href="IPA.Utilities.Async.UnityMainThreadTaskScheduler.html">UnityMainThreadTaskScheduler</a></h4>
<section><p>A task scheduler that runs tasks on the Unity main thread via coroutines.</p>
</section>
<h3 id="structs">Structs
</h3>
<h4><a class="xref" href="IPA.Utilities.Async.Synchronization.MutexLocker.html">Synchronization.MutexLocker</a></h4>
<section><p>A locker for a <span class="xref">System.Threading.Mutex</span> that automatically releases when it is disposed.
Create this with <a class="xref" href="IPA.Utilities.Async.Synchronization.html#IPA_Utilities_Async_Synchronization_Lock_System_Threading_Mutex_">Lock(Mutex)</a>.</p>
</section>
<h4><a class="xref" href="IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimReadLocker.html">Synchronization.ReaderWriterLockSlimReadLocker</a></h4>
<section><p>A locker for a read lock on a <span class="xref">System.Threading.ReaderWriterLockSlim</span> that automatically releases when
it is disposed. Create this with <a class="xref" href="IPA.Utilities.Async.Synchronization.html#IPA_Utilities_Async_Synchronization_LockRead_System_Threading_ReaderWriterLockSlim_">LockRead(ReaderWriterLockSlim)</a>.</p>
</section>
<h4><a class="xref" href="IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimUpgradableReadLocker.html">Synchronization.ReaderWriterLockSlimUpgradableReadLocker</a></h4>
<section><p>A locker for an upgradable read lock on a <span class="xref">System.Threading.ReaderWriterLockSlim</span> that automatically releases
when it is disposed. Create this with <a class="xref" href="IPA.Utilities.Async.Synchronization.html#IPA_Utilities_Async_Synchronization_LockReadUpgradable_System_Threading_ReaderWriterLockSlim_">LockReadUpgradable(ReaderWriterLockSlim)</a>.</p>
</section>
<h4><a class="xref" href="IPA.Utilities.Async.Synchronization.ReaderWriterLockSlimWriteLocker.html">Synchronization.ReaderWriterLockSlimWriteLocker</a></h4>
<section><p>A locker for a write lock on a <span class="xref">System.Threading.ReaderWriterLockSlim</span> that automatically releases when
it is disposed. Create this with <a class="xref" href="IPA.Utilities.Async.Synchronization.html#IPA_Utilities_Async_Synchronization_LockWrite_System_Threading_ReaderWriterLockSlim_">LockWrite(ReaderWriterLockSlim)</a>.</p>
</section>
<h4><a class="xref" href="IPA.Utilities.Async.Synchronization.SemaphoreLocker.html">Synchronization.SemaphoreLocker</a></h4>
<section><p>A locker for a <span class="xref">System.Threading.Semaphore</span> that automatically releases when it is disposed.
Create this with <a class="xref" href="IPA.Utilities.Async.Synchronization.html#IPA_Utilities_Async_Synchronization_Lock_System_Threading_Semaphore_">Lock(Semaphore)</a>.</p>
</section>
<h4><a class="xref" href="IPA.Utilities.Async.Synchronization.SemaphoreSlimAsyncLocker.html">Synchronization.SemaphoreSlimAsyncLocker</a></h4>
<section><p>A locker for a <span class="xref">System.Threading.SemaphoreSlim</span> that was created asynchronously and automatically releases
when it is disposed. Create this with <a class="xref" href="IPA.Utilities.Async.Synchronization.html#IPA_Utilities_Async_Synchronization_LockAsync_System_Threading_SemaphoreSlim_">LockAsync(SemaphoreSlim)</a>.</p>
</section>
<h4><a class="xref" href="IPA.Utilities.Async.Synchronization.SemaphoreSlimLocker.html">Synchronization.SemaphoreSlimLocker</a></h4>
<section><p>A locker for a <span class="xref">System.Threading.SemaphoreSlim</span> that automatically releases when it is disposed.
Create this with <a class="xref" href="IPA.Utilities.Async.Synchronization.html#IPA_Utilities_Async_Synchronization_Lock_System_Threading_SemaphoreSlim_">Lock(SemaphoreSlim)</a>.</p>
</section>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<h5>In This Article</h5>
<div></div>
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Generated by <strong>DocFX</strong></span>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="../styles/docfx.vendor.js"></script>
<script type="text/javascript" src="../styles/docfx.js"></script>
<script type="text/javascript" src="../styles/main.js"></script>
</body>
</html>