<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://monobook.org/w/index.php?action=history&amp;feed=atom&amp;title=%E5%90%8D%E5%89%8D%E4%BB%98%E3%81%8DMutex</id>
	<title>名前付きMutex - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://monobook.org/w/index.php?action=history&amp;feed=atom&amp;title=%E5%90%8D%E5%89%8D%E4%BB%98%E3%81%8DMutex"/>
	<link rel="alternate" type="text/html" href="https://monobook.org/w/index.php?title=%E5%90%8D%E5%89%8D%E4%BB%98%E3%81%8DMutex&amp;action=history"/>
	<updated>2026-06-05T00:36:54Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://monobook.org/w/index.php?title=%E5%90%8D%E5%89%8D%E4%BB%98%E3%81%8DMutex&amp;diff=13419&amp;oldid=prev</id>
		<title>2020年7月22日 (水) 02:03にAdministratorによる</title>
		<link rel="alternate" type="text/html" href="https://monobook.org/w/index.php?title=%E5%90%8D%E5%89%8D%E4%BB%98%E3%81%8DMutex&amp;diff=13419&amp;oldid=prev"/>
		<updated>2020-07-22T02:03:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2020年7月22日 (水) 02:03時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot;&gt;20行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;20行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;mutex.ReleaseMutex();&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;mutex.ReleaseMutex();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== 関連項目 ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[.NET Coreで名前付きMutexを使う]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key monobook-mw_:diff:1.41:old-13418:rev-13419:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
	<entry>
		<id>https://monobook.org/w/index.php?title=%E5%90%8D%E5%89%8D%E4%BB%98%E3%81%8DMutex&amp;diff=13418&amp;oldid=prev</id>
		<title>Administrator: ページの作成:「&#039;&#039;&#039;名前付きミューテックス&#039;&#039;&#039;（named mutex, system mutex）とは、一部のOSに搭載されているプロセス間やスレッド間で排他…」</title>
		<link rel="alternate" type="text/html" href="https://monobook.org/w/index.php?title=%E5%90%8D%E5%89%8D%E4%BB%98%E3%81%8DMutex&amp;diff=13418&amp;oldid=prev"/>
		<updated>2020-07-22T02:02:06Z</updated>

		<summary type="html">&lt;p&gt;ページの作成:「&amp;#039;&amp;#039;&amp;#039;名前付きミューテックス&amp;#039;&amp;#039;&amp;#039;（named mutex, system mutex）とは、一部の&lt;a href=&quot;/wiki/OS&quot; class=&quot;mw-redirect&quot; title=&quot;OS&quot;&gt;OS&lt;/a&gt;に搭載されている&lt;a href=&quot;/w/index.php?title=%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;「プロセス」 (存在しないページ)&quot;&gt;プロセス&lt;/a&gt;間や&lt;a href=&quot;/wiki/%E3%82%B9%E3%83%AC%E3%83%83%E3%83%89&quot; title=&quot;スレッド&quot;&gt;スレッド&lt;/a&gt;間で排他…」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;名前付きミューテックス&amp;#039;&amp;#039;&amp;#039;（named mutex, system mutex）とは、一部の[[OS]]に搭載されている[[プロセス]]間や[[スレッド]]間で[[排他制御]]を行うための[[API]]である。&lt;br /&gt;
&lt;br /&gt;
もともとは[[DEC]]社の[[VMS]]に搭載された排他制御を司る[[API]]であった。後に[[Windows NT]]や[[μITRON]]も[[移植]]された。&lt;br /&gt;
&lt;br /&gt;
「名前付き」は取得要求するときに名前単位で区別されるものをいい、主にOS全体ではなく特定のプロセス間でのみ排他制御を行うときに用いられる。&lt;br /&gt;
&lt;br /&gt;
排他制御の仕組みいろいろ考案されているが、Mutexは「取るか、取れられるか」ただそれだけ。非常にシンプルなのが特徴である。&amp;lt;syntaxhighlight lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
// initiallyOwned:trueだとnewしたときに所有権を要求する&lt;br /&gt;
var mutex = new Mutex(initiallyOwned:false, name:&amp;quot;名前だ&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
// 所有権を要求する（待ち時間0ミリ秒）&lt;br /&gt;
var hasHandle = mutex.WaitOne(0);&lt;br /&gt;
&lt;br /&gt;
if (!hasHandle) {&lt;br /&gt;
    // 残念&lt;br /&gt;
    return;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// 所有権を廃棄する&lt;br /&gt;
mutex.ReleaseMutex();&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
</feed>