async.html
来自「PTypes (C++ Portable Types Library) is a」· HTML 代码 · 共 62 行
HTML
62 行
<html><!-- #BeginTemplate "/Templates/tmpl.dwt" --><head><!-- #BeginEditable "doctitle" --> <title>PTypes: multithreading</title><!-- #EndEditable --> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel="stylesheet" href="styles.css"></head><body bgcolor="#FFFFFF" leftmargin="40" marginwidth="40"><p><a href="../index.html"><img src="title-1.7.gif" width="213" height="34" alt="C++ Portable Types Library (PTypes) Version 1.7" border="0"></a> <hr noshade><!-- #BeginEditable "body" --> <p class="hpath"><a href="index.html">Top</a>: Multithreading</p><ul><li> <h5><a href="async.thread.html">thread</a></h5></li><li> <h5><a href="async.semaphore.html">semaphore & tsemaphore</a></h5></li><li> <h5><a href="async.mutex.html">mutex</a></h5></li><li> <h5><a href="async.rwlock.html">rwlock</a></h5></li><li><h5><a href="async.trigger.html">trigger</a></h5></li><li> <h5><a href="async.msgqueue.html">msgqueue</a></h5></li><li> <h5><a href="async.message.html">message</a></h5></li><li> <h5><a href="async.utils.html">Utilities</a></h5></li><li> <h5><a href="async.examples.html">Examples</a></h5></li></ul><p>PTypes provides a minimal set of utility objects for creating complex multithreaded and event-driven applications. In addition to <a href="async.thread.html">threads</a> and inter-thread synchronization primitives <a href="async.semaphore.html">semaphore</a>, <a href="async.mutex.html">mutex</a>, <a href="async.rwlock.html">rwlock</a> and <a href="async.trigger.html">trigger</a> the library also allows you to create message queues (<a href="async.msgqueue.html">msgqueue</a>) typically used in windowed or other event-driven environments.</p><p>The implementation of threads and sync objects is quite different on Windows, Unix and MacOS X. When an operating system lacks one of the features, PTypes implements it using the other primitives present in that OS. Please, see <span class="lang">include/pasync.h</span> for the implementation cross-reference of the synchronization primitives.</p><p>PTypes' message queue is implemented in the library and does not use any specific system-level functionality.</p><p>The multithreading classes are declared in <span class="lang"><pasync.h></span>.</p><!-- #EndEditable --><hr size="1"><a href="../index.html" class="ns">PTypes home</a></body><!-- #EndTemplate --></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?