Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'v0.19.x' | Max Kellermann | 2015-01-26 | 1 | -1/+4 |
|\ | |||||
| * | thread/Name: include stdio.h if HAVE_PRCTL | Max Kellermann | 2015-01-21 | 1 | -1/+4 |
| | | | | | | | | | | Caused a build failure with uClibc because snprintf() was not available. | ||||
* | | Merge branch 'v0.19.x' | Max Kellermann | 2015-01-06 | 1 | -6/+14 |
|\| | |||||
| * | thread/Name: disable pthread_setname_np() on NetBSD | Max Kellermann | 2015-01-06 | 1 | -2/+6 |
| | | | | | | | | | | | | | | NetBSD's pthread_setname_np() prototype is incompatible with the rest of the world, and it requires to pass the string argument as a non-const pointer. Instead of working around this misdesign, I hereby disable the feature on NetBSD. | ||||
| * | thread/Name: enable FormatThreadName() with prctl() | Max Kellermann | 2015-01-06 | 1 | -1/+5 |
| | | | | | | | | | | | | Add macro HAVE_THREAD_NAME which is set when any method to set the thread name is available. Use that macro in FormatThreadName() instead of just checking for HAVE_PTHREAD_SETNAME_NP. | ||||
| * | thread/Name: indent preprocessor commands | Max Kellermann | 2015-01-06 | 1 | -3/+3 |
| | | |||||
* | | Copyright year 2015 | Max Kellermann | 2015-01-01 | 1 | -1/+1 |
|/ | |||||
* | thread/Name: fall back to prctl() | Max Kellermann | 2014-03-01 | 1 | -0/+4 |
| | |||||
* | thread/Name: implementation for Mac OS X | Max Kellermann | 2014-01-28 | 1 | -0/+4 |
| | | | | pthread_setname_np() doesn't have the "thread" argument on OS X. | ||||
* | thread/Name: set thread names | Max Kellermann | 2014-01-23 | 1 | -0/+51 |
For debugging. |