Re: Re: pthread_getattr_np does not work

2017-09-19 Thread xuelin.t...@qkmtech.com
I need to get thread attributes through this function. ** #define __GNU_VISIBLE #include void test_thread (guint8 **staddr, size_t *stsize) { pthread_attr_t attr; uint8_t **staddr = NULL; size_t *stsize = 0; int res = 0

Re: pthread_getattr_np does not work

2017-09-19 Thread Sebastian Huber
On 20/09/17 05:43, xuelin.t...@qkmtech.com wrote: Dear all, I tried to use pthread_getattr_np function to extract attrributes of thread in rtems, but it does not work. Has anyone used this function before? What do you mean with doesn't work? -- Sebastian Huber, embedded brains GmbH Address

pthread_getattr_np does not work

2017-09-19 Thread xuelin.t...@qkmtech.com
Dear all, I tried to use pthread_getattr_np function to extract attrributes of thread in rtems, but it does not work. Has anyone used this function before? Best wishes, xuelin.t...@qkmtech.com ___ users mailing list users@rtems.org http://lists.rtem