1 | | gnutls makes use of this, and so it had to be disabled to fix crashes: https://github.com/haikuports/haikuports/commit/cda76a62712b91647892ba01f1a5d0dcb38cadc5 |
2 | | |
3 | | Using the test program from here, the problem can clearly be seen: https://riptutorial.com/c/example/16383/-thread-local |
4 | | |
5 | | {{{ |
6 | | From thread:[2], Address of i (thread local): 0x2f5f7cc990 |
7 | | From thread:[3], Address of i (thread local): 0x2f5f7cc990 |
8 | | From thread:[5], Address of i (thread local): 0x2f5f7cc990 |
9 | | From thread:[4], Address of i (thread local): 0x2f5f7cc990 |
10 | | From thread:[1], Address of i (thread local): 0x2f5f7cc8f0 |
11 | | }}} |
| 1 | gnutls makes use of this, and it had to be disabled to fix crashes: https://github.com/haikuports/haikuports/commit/cda76a62712b91647892ba01f1a5d0dcb38cadc5 |