<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>МоёМесто.ru :: leshak :: pthread</title>
		<link>http://moemesto.ru/leshak/tags/pthread</link>
		<description>Сервис интернет закладок МоёМесто.ru</description>
		<language>ru</language>
		<pubDate>Thu, 14 May 2026 13:50:36 +0300</pubDate>
		<image>
			<link>http://moemesto.ru/leshak/tags/pthread</link>
			<url>http://moemesto.ru/icons/logo.jpg</url>
			<title>МоёМесто.ru</title>
		</image>
		<item>
			<title>Posix threads / Хабрахабр</title>
			<link>http://habrahabr.ru/post/248651/</link>
			<guid>http://moemesto.ru/link/14793303</guid>
			<description>Рано или поздно любой программист в своей жизни встречается с многопоточностью. Многопоточность &amp;ndash; это свойство алгоритма распаралеливатся, т.е. выполнять операции некими вычислителями независимо друг от друга. Самый простой пример &amp;mdash; это программирование GUI. GUI всегда должен быть отрисован, вне зависимости от того, что делается в программе. Например, loading screen &amp;ndash; он всего лишь показывает прогресс, по мере загрузки ресурсов. И выглядит это примерно так:</description>
			<pubDate>Fri, 23 Jan 2015 17:24:55 +0300</pubDate>
		</item>
		<item>
			<title>File Descriptors And Multithreaded Programs | Dr Dobb&amp;#039;s</title>
			<link>http://www.drdobbs.com/parallel/file-descriptors-and-multithreaded-progr/212001285</link>
			<guid>http://moemesto.ru/link/14757150</guid>
			<description>When writing multithreaded programs that work with sockets, a common pattern is to have two threads per socket&amp;mdash;one thread writes the data to the socket, another one reads the data. Obviously, the socket library used for this should be threadsafe to start with and support a read from a socket in one thread and a write to the socket in the other thread without corrupting the library&amp;#039;s socket state. The raw system calls read() and write() support this. Your experience with the more sophisticated libraries may vary.</description>
			<pubDate>Sun, 19 Oct 2014 16:28:04 +0400</pubDate>
		</item>
		<item>
			<title>linux - Writing to eventfd from kernel module - Stack Overflow</title>
			<link>http://stackoverflow.com/questions/13607730/writing-to-eventfd-from-kernel-module</link>
			<guid>http://moemesto.ru/link/14757062</guid>
			<description>Here is what I want to do: I am developing a userspace program which needs to exchange data and signals with a kernel space module which I have written. For transferring data, I am already using ioctl. But I want the kernel module to be able to signal the userspace program whenever new data is ready for it to consume over ioctl. To do this, my userspace program will create a few eventfds in various threads. These threads will wait on these eventfds using select() and whenever the kernel module updates the counts on these eventfds, they will go on to consume the data by requesting for it over ioctl.</description>
			<pubDate>Sun, 19 Oct 2014 11:15:10 +0400</pubDate>
		</item>
		<item>
			<title>Pthread_cond_timedwait: проблема, решение, дискуссия / Блог компании Нордавинд / Хабрахабр</title>
			<link>http://habrahabr.ru/company/nordavind/blog/175821/</link>
			<guid>http://moemesto.ru/link/14756845</guid>
			<description>Продолжая серию постов по многопоточному программированию, хочется коснуться одной фундаментальной проблемы использования сигнальных переменных в Linux, к сожалению, не имеющей пока красивого универсального решения (а может оно просто неизвестно мне). Многие, к сожалению, даже не догадываются о том, что такая проблема имеет место быть.</description>
			<pubDate>Sat, 18 Oct 2014 12:24:46 +0400</pubDate>
		</item>
  </channel>
</rss>
