Rokas Kupstys
36c76456f7
Fix mistakes from MingW support commit.
2019-01-19 15:03:43 +02:00
Rokas Kupstys
8157e3a0b3
Fix builds with MingW.
2019-01-19 13:53:10 +02:00
Rokas Kupstys
01df5aa840
Fix targetting lower windows versions when using W10 SDK that is older than redstone2.
2018-07-19 11:08:41 +03:00
Rokas Kupstys
d290e04d45
Fix build when targeting earlier windows versions by defining _WIN32_WINNT.
2018-07-17 20:15:27 +03:00
Arvid Gerstmann
ebd1d00178
Correctly forward declare Win32 functions
...
_WINDOWS_ is the macro defined by the windows.h header guard,
checking it whether the symbols have already been included before
forward declaring our own.
2018-07-13 23:39:58 +02:00
Bartosz Taudul
94c9c89ad0
Enable thread name collection on old windows SDKs.
2018-06-22 00:23:50 +02:00
Bartosz Taudul
48e82ea135
Workaround pthreads thread name limit.
2018-03-31 01:22:21 +02:00
Bartosz Taudul
7ecc6b54d4
Proper pthread_threadid_np call.
2017-11-03 11:12:17 +01:00
Bartosz Taudul
c7cb89307f
Use proper __APPLE__ macro.
2017-11-03 11:09:31 +01:00
Bartosz Taudul
1d9542ea25
Fix thread ids on osx, iphone.
2017-11-03 10:49:49 +01:00
Bartosz Taudul
7b8747ce21
Collect thread names on osx, iphone.
2017-11-02 13:02:04 +01:00
Bartosz Taudul
3aaa718741
Enable thread name collection on cygwin.
...
It was working before, because there was _GNU_SOURCE define injection.
Without this macro defined pthread_[gs]etname_np() functions are not
exposed in the API.
2017-10-30 21:57:45 +01:00
Bartosz Taudul
cf3d8eb810
Manual collection of thread names on android.
2017-10-30 20:45:00 +01:00
Bartosz Taudul
1788408ceb
Allow setting thread name using thread handle.
2017-10-16 21:17:58 +02:00
Bartosz Taudul
75457c1465
Remove +x flag from files.
2017-10-10 21:56:15 +02:00
Bartosz Taudul
809d98162b
Do the same trick as concurrentqueue.h for GetCurrentThreadId().
2017-09-26 00:46:46 +02:00
Bartosz Taudul
206305fbd2
Merge TracyThread.hpp to TracySystem.cpp.
...
Keeping threading functions inside a source file prevents poisoning by
including windows.h.
2017-09-25 21:13:59 +02:00
Bartosz Taudul
45646c4f45
Move TracySystem to a common directory.
2017-09-13 01:32:11 +02:00