Fix for high CPU usage on Windows

Sherief Farouk <[email protected]> Fri, 17 Mar 2017 07:03:51 -0700
Newsgroups gmane.comp.lib.sdl
Message-ID <CAEGXR6KTxtBsOSONondjBctSNoCpuvNp35=4pJh6atCx6a=+RQ@mail.gmail.com>
--===============6115520037835581132==
Content-Type: multipart/alternative; boundary=001a11407b32b64e60054aeda5d6

--001a11407b32b64e60054aeda5d6
Content-Type: text/plain; charset=UTF-8

Hi,
      I have a patch for high CPU usage caused by the joystick detect
thread. This issue consumes a non-trivial amount of power and heck, Steam
is popular enough to the point where I think this might even have a
measurable impact on carbon emissions. Patch can be found at
https://bitbucket.org/sherief/sdl2/commits/6c8c2a10cac60ebbd026523d374b246d1fadde65

    - Sherief

--001a11407b32b64e60054aeda5d6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi, </div><div>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 I have =
a patch for high CPU usage caused by the joystick detect thread. This issue=
 consumes a non-trivial amount of power and heck, Steam is popular enough t=
o the point where I think this might even have a measurable impact on carbo=
n emissions. Patch can be found at <a href=3D"https://bitbucket.org/sherief=
/sdl2/commits/6c8c2a10cac60ebbd026523d374b246d1fadde65">https://bitbucket.o=
rg/sherief/sdl2/commits/6c8c2a10cac60ebbd026523d374b246d1fadde65</a></div><=
div><br></div><div>=C2=A0=C2=A0=C2=A0 - Sherief</div></div>

--001a11407b32b64e60054aeda5d6--

--===============6115520037835581132==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

--===============6115520037835581132==--