<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1771689</guid>
        <pubDate>Tue, 20 Nov 2007 12:28:56 +0000</pubDate>
        <title>синхронизация потоков</title>
        <link>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1771689</link>
        <description><![CDATA[Flex Ferrum: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=210678&view=findpost&p=1768892'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>Demo_S &#064; <time class="tag-quote__quoted-time" datetime="2007-11-18T20:32:30+03:00">18.11.07, 17:32</time></span><div class='quote '>а чем эти conditional variables реализуются? по какому слову искать?</div></div><br>
По этому слову и искать. Это системный примитив синхронизации.]]></description>
        <author>Flex Ferrum</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1771631</guid>
        <pubDate>Tue, 20 Nov 2007 11:53:14 +0000</pubDate>
        <title>синхронизация потоков</title>
        <link>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1771631</link>
        <description><![CDATA[ms: текс , искать Уильям Стивенс  UNIX: взаимодействие процессов  . В даной книженции есть все что может понадобиться по процесам потокам синхронизации.  И в догонку его же книга UNIX: разработка сетевых приложений . Погугль дето должны лежать шаровые копии .]]></description>
        <author>ms</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1768892</guid>
        <pubDate>Sun, 18 Nov 2007 17:32:30 +0000</pubDate>
        <title>синхронизация потоков</title>
        <link>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1768892</link>
        <description><![CDATA[Demo_S: ok. а чем эти conditional variables реализуются? по какому слову искать?]]></description>
        <author>Demo_S</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1767325</guid>
        <pubDate>Fri, 16 Nov 2007 14:17:03 +0000</pubDate>
        <title>синхронизация потоков</title>
        <link>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1767325</link>
        <description><![CDATA[cozzzy: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>A condition variable is always used in conjunction with a mutex and the shared resource(s). A thread first locks the mutex and then verifies that the shared resource is in a state that can be safely used in the manner needed. If it’s not in the state needed, the thread waits on the condition variable. This operation causes the mutex to be unlocked during the wait so that another thread can actually change the state of the shared resource. It also ensures that the mutex is locked when the thread returns from the wait operation. When another thread changes the state of the shared resource, it needs to notify the threads that may be waiting on the condition variable, enabling them to return from the wait operation.</div></div>]]></description>
        <author>cozzzy</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1766930</guid>
        <pubDate>Fri, 16 Nov 2007 10:40:50 +0000</pubDate>
        <title>синхронизация потоков</title>
        <link>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1766930</link>
        <description><![CDATA[Flex Ferrum: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=210678&view=findpost&p=1766883'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>Demo_S &#064; <time class="tag-quote__quoted-time" datetime="2007-11-16T09:58:41+00:00">16.11.07, 09:58</time></span><div class='quote '>это что?</div></div><br>
conditional variable. Примитив, очень отдаленно напоминающий виндовые event&#39;ы. Используется для ожидания изменения определенного условия в программе. Например, представь себе очередь с архитектурой &quot;один читатель-много писателей&quot;. Читатель реагирует на появление новых элементов в очереди. Когда очередной писатель поместил что-то в очередь - он дергает за этот самый примитив, уведомляя тем самым читателя, что состояние очереди изменилось. Читатель реагирует на это и, если в очередь действительно что-то попало, выполняет необходимые действия.]]></description>
        <author>Flex Ferrum</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1766883</guid>
        <pubDate>Fri, 16 Nov 2007 09:58:41 +0000</pubDate>
        <title>синхронизация потоков</title>
        <link>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1766883</link>
        <description><![CDATA[Demo_S: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=210678&view=findpost&p=1766295'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>Flex Ferrum &#064; <time class="tag-quote__quoted-time" datetime="2007-11-15T18:27:26+00:00">15.11.07, 18:27</time></span><div class='quote '>переменные-условия</div></div><br>
это что?<br>
<br>
надыбал кстати классную ссылку<br>
http://cs.pub.ro/~apc/2003/resources/pthreads/uguide/document.htm<br>
там еще некие read/write lock&#39;и есть. если работают так как я предполагаю, ваще круто будет;)]]></description>
        <author>Demo_S</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1766295</guid>
        <pubDate>Thu, 15 Nov 2007 18:27:26 +0000</pubDate>
        <title>синхронизация потоков</title>
        <link>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1766295</link>
        <description><![CDATA[Flex Ferrum: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=210678&view=findpost&p=1766218'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>Demo_S &#064; <time class="tag-quote__quoted-time" datetime="2007-11-15T17:10:28+00:00">15.11.07, 17:10</time></span><div class='quote '>есть ли в линуксе что-нить кроме мьютексов?</div></div><br>
Есть. Семафоры, переменные-условия. Этого достаточно для реализации всех виндовых примитивов.]]></description>
        <author>Flex Ferrum</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1766218</guid>
        <pubDate>Thu, 15 Nov 2007 17:10:28 +0000</pubDate>
        <title>синхронизация потоков</title>
        <link>https://forum.sources.ru/index.php?showtopic=210678&amp;view=findpost&amp;p=1766218</link>
        <description><![CDATA[Demo_S: Привет всем. знаю только pthread_mutex_lock и pthread_mutex_unlock.<br>в винде есть куча всего, и critical section и event&#39;ы и семафоры.<br>есть ли в линуксе что-нить кроме мьютексов?]]></description>
        <author>Demo_S</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      </channel>
      </rss>
	