<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/Source/Core/Common/Src/Thread.h, branch 3.0</title>
<subtitle>GameCube and Wii emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/'/>
<entry>
<title>Use mutexes in LogManager to make it threadsafe, as suggested by beistin's patch. Change some LogManager function names to be consistent with Dolphin's naming conventions.</title>
<updated>2011-04-01T07:43:02+00:00</updated>
<author>
<name>Jordan Woyak</name>
<email>jordan.woyak@gmail.com</email>
</author>
<published>2011-04-01T07:43:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=021193b22f93bd77da407e79672a74f08b3eceba'/>
<id>021193b22f93bd77da407e79672a74f08b3eceba</id>
<content type='text'>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7433 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7433 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>A bit of cleanup to Core Init/Stop, Frame, and Main. Cleanup XAudio2 to attempt to fix the crash on stop(didn't help :p). For some reason CFrame::DoStop is called twice.(might be the issue)</title>
<updated>2011-03-15T23:09:12+00:00</updated>
<author>
<name>Jordan Woyak</name>
<email>jordan.woyak@gmail.com</email>
</author>
<published>2011-03-15T23:09:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=41c98f982eb44e89416fcb9c0139b6a922e14b0f'/>
<id>41c98f982eb44e89416fcb9c0139b6a922e14b0f</id>
<content type='text'>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7353 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7353 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix preprocessor prob.(recursive mutexes were being used where not necessary) Hopefully fix Common::Event to handle spurious wakeups since it uses condition variables now.</title>
<updated>2011-03-06T00:52:04+00:00</updated>
<author>
<name>Jordan Woyak</name>
<email>jordan.woyak@gmail.com</email>
</author>
<published>2011-03-06T00:52:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=9095dad00900034649d7f3ec78bd5e5558e97fb7'/>
<id>9095dad00900034649d7f3ec78bd5e5558e97fb7</id>
<content type='text'>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7307 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7307 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Common::Barrier and fix the deadlock by making Common::Event check to see if an event has already been set or not.</title>
<updated>2011-03-05T22:17:28+00:00</updated>
<author>
<name>Glenn Rice</name>
<email>glennricster@gmail.com</email>
</author>
<published>2011-03-05T22:17:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=7bc2ae01f26a5396e3a7207170d6860c921b71a7'/>
<id>7bc2ae01f26a5396e3a7207170d6860c921b71a7</id>
<content type='text'>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7305 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7305 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the Host_GetKeyState deadlock caused by Billiard's latest changes.</title>
<updated>2011-03-05T21:58:54+00:00</updated>
<author>
<name>Glenn Rice</name>
<email>glennricster@gmail.com</email>
</author>
<published>2011-03-05T21:58:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=024a87af7ac6ddf0719e3c7fc0cac5bca3e8812d'/>
<id>024a87af7ac6ddf0719e3c7fc0cac5bca3e8812d</id>
<content type='text'>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7304 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7304 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Replaced Common::CriticalSection with a std::mutex implementation. 64bit Windows builds now use SRWLocks and ConditionVariables(requires Vista/7, x64 builds will no longer work on Windows XP x64). Tell me if you hate that. Removed Common::EventEx. Common::Event now uses a std::condition_variable impl.(using ConditionVariables on Windows x64, Events on x86, or posix condition variables elsewhere). I experience slight speed improvements with these changes.</title>
<updated>2011-03-05T06:11:26+00:00</updated>
<author>
<name>Jordan Woyak</name>
<email>jordan.woyak@gmail.com</email>
</author>
<published>2011-03-05T06:11:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=423018f811ce8c1682735d33a3790031b8c08576'/>
<id>423018f811ce8c1682735d33a3790031b8c08576</id>
<content type='text'>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7294 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7294 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Change YieldCPU to sleep(0) like on windows.  Time trials show this to be the most effective.  Also, when using usleep(1) and dsp on thread the emulator is painfully slow.  With the old _mm_pause() the emulator hangs on shutdown.  With sleep(0) the emulator is faster, and doesn't hang on shutdown.</title>
<updated>2011-03-02T22:19:56+00:00</updated>
<author>
<name>Glenn Rice</name>
<email>glennricster@gmail.com</email>
</author>
<published>2011-03-02T22:19:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=12cd2d41ec5d45e9da53df139ac9413684f1c09a'/>
<id>12cd2d41ec5d45e9da53df139ac9413684f1c09a</id>
<content type='text'>
Also fix a possible undefined operation (according to gcc).


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7275 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix a possible undefined operation (according to gcc).


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7275 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>a little simplification for the dlist id and  a little correction to YieldProcessor in windows.</title>
<updated>2011-02-27T18:06:55+00:00</updated>
<author>
<name>Rodolfo Osvaldo Bogado</name>
<email>rodolfoosvaldobogado@gmail.com</email>
</author>
<published>2011-02-27T18:06:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=ccc12c695008e6d7c72fc651ac38f7ed70adab6e'/>
<id>ccc12c695008e6d7c72fc651ac38f7ed70adab6e</id>
<content type='text'>
in windows sleep(0) behaves more like what is defined in the yield instruction so use it instead. In my amd 6 core system brings a nice 8% speedup so please test I'm interested in knowing the behavior in different systems.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7261 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in windows sleep(0) behaves more like what is defined in the yield instruction so use it instead. In my amd 6 core system brings a nice 8% speedup so please test I'm interested in knowing the behavior in different systems.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7261 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Used usleep(1) instead of _mm_pause on Linux and Mac OSX.  This reduces the CPU usage in the video thread's idle loop. Added YieldCPU to the DSP LLE loop.</title>
<updated>2011-02-10T12:56:21+00:00</updated>
<author>
<name>skidau</name>
<email>skidau@gmail.com</email>
</author>
<published>2011-02-10T12:56:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=af139f4661185ceb6d2c016e2ba3cdd1034a5aa7'/>
<id>af139f4661185ceb6d2c016e2ba3cdd1034a5aa7</id>
<content type='text'>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7125 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7125 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>Replaced Common::Thread with a partial implementation of std::thread. (rvalue references are used if available, &lt;thread&gt; is used if possible) Eliminates the need to use dynamic memory allocation for threads, so it's impossible to forget to delete a thread or set a pointer to NULL. Enables use of type-safe thread functions, no need to cast to and from void*. I've made sure the code compiles in vs08 and tested the functionality of "StdThread.h" on Linux so I'm hoping everything will work :p. In the future "StdThread.h" can be removed (maybe when OS X ships with gcc 4.4 and vs2015 is released :p).</title>
<updated>2011-01-27T20:47:58+00:00</updated>
<author>
<name>Jordan Woyak</name>
<email>jordan.woyak@gmail.com</email>
</author>
<published>2011-01-27T20:47:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=2c05c49a04aa838047417825c289958efb59ee3c'/>
<id>2c05c49a04aa838047417825c289958efb59ee3c</id>
<content type='text'>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6933 8ced0084-cf51-0410-be5f-012b33b47a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6933 8ced0084-cf51-0410-be5f-012b33b47a6e
</pre>
</div>
</content>
</entry>
</feed>
