Khem Raj
92fcf75d6d
drd/tests/pth_detached3: Make pthread_detach() call portable across platforms
...
pthread_t is opaque type therefore we can not apply simple arithmetic to
variables of pthread_t type this test needs to pass a invalid pthread_t
handle, typcasting to uintptr_t works too and is portable across glibc and
musl
Fixes
| pth_detached3.c:24:25: error: invalid use of undefined type 'struct __pthread'
| 24 | pthread_detach(thread + 8);
| | ^
[ bvanassche: reformatted patch description and fixed up line numbers ]
2020-01-28 20:38:04 -08:00
..
2020-01-23 10:53:36 +01:00
2015-05-26 11:52:45 +00:00
2020-01-28 20:38:04 -08:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-12-31 09:44:42 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2010-06-02 19:32:51 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-12-31 09:44:42 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2020-01-15 20:00:06 -08:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2012-11-10 22:29:54 +00:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2019-05-26 20:07:51 +02:00
2017-05-04 15:09:39 +00:00
2018-03-18 13:53:38 +01:00
2019-05-26 20:07:51 +02:00
2014-08-09 12:47:17 +00:00