SDL-mirror/src/thread
Sam Lantinga defb16763d Add a timeout to the clipboard code to avoid hangs when using synergy. When a timeout is detected we set the clipboard so that we own it so that future timeouts are avoided. Testing has confirmed that this timeout and setting only occurs when the clipboard contains text from my Windows machine.
That is, if you copy from the Windows clipboard and then launch Dota and then repeatedly paste to a terminal window then the text will disappear when Dota hits the timeout. If you then select on the Linux side you can repeatedly paste. If you select again on Windows then the text will get cleared again.

Note that Dota only looks at the clipboard when it has focus.

CR: Saml
2013-07-23 12:59:29 -07:00
..
beos Added release/acquire memory barriers to the atomic API 2013-07-10 18:31:17 -07:00
generic Added release/acquire memory barriers to the atomic API 2013-07-10 18:31:17 -07:00
psp File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
pthread Added release/acquire memory barriers to the atomic API 2013-07-10 18:31:17 -07:00
windows Add a timeout to the clipboard code to avoid hangs when using synergy. When a timeout is detected we set the clipboard so that we own it so that future timeouts are avoided. Testing has confirmed that this timeout and setting only occurs when the clipboard contains text from my Windows machine. 2013-07-23 12:59:29 -07:00
SDL_systhread.h Added release/acquire memory barriers to the atomic API 2013-07-10 18:31:17 -07:00
SDL_thread.c One more compiler warning. 2013-07-20 19:59:31 -04:00
SDL_thread_c.h Fixed some compiler warnings that Visual Studio reported. 2013-07-20 19:51:51 -04:00