Graeme Kelly 81413839a8 call SetThreadDescription() to set thread name if available (#200)
* Update thread.cpp

call SetThreadDescription() (if available) when setting the thread name, so that it is available in minidumps and to any process that has permission to call GetThreadDescription (as opposed to just being available inside the debugger)

* Update thread.cpp

whitespace fix

* Update thread.cpp

another bit of whitespace, I've become so blind to this

* Update thread.cpp

whoops - would help if it actually compiled

* Update thread.cpp

actually this one was unnecessary - already checked above as first #if condition

* Update thread.cpp

change to use GetModuleHandleA
2019-01-11 10:00:35 -08:00
2018-06-11 14:41:33 -07:00
2019-01-04 22:18:32 -08:00
2018-12-06 00:16:10 -08:00
2019-01-03 12:27:45 -08:00
2019-01-10 22:45:30 -08:00
2018-11-12 21:27:47 -08:00
2014-11-15 16:19:12 -08:00
2014-11-06 20:29:58 -08:00
2018-11-03 10:58:59 -07:00
2017-12-25 21:03:27 -08:00
2018-01-01 11:13:43 -08:00
2018-11-14 20:01:03 -08:00
2018-01-01 11:13:43 -08:00

bx

Base library.

Build Status Build status License Join the chat at https://gitter.im/bkaradzic/bgfx

Contact

@bkaradzic

Project page
https://github.com/bkaradzic/bx

License (BSD 2-clause)

Copyright 2010-2018 Branimir Karadzic. All rights reserved.

https://github.com/bkaradzic/bx

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

   1. Redistributions of source code must retain the above copyright notice,
      this list of conditions and the following disclaimer.

   2. Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDER ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Languages
C++ 89.3%
C 7.4%
Lua 3.3%