This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gdb/testsuite/gdb.threads: Make sure TLS tests link against pthreads.


>>>>> "Will" == Will Newton <will.newton@linaro.org> writes:

Will>  int main(void)
Will>  {
Will> -  return 0;
Will> +  return pthread_self();

I think it is possible according to POSIX for pthread_t to be a pointer
type.  It seems like it would be safer to just use a call to
pthread_testcancel in all these tests.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]