------- Comment #4 from J dot J dot vanderHeijden at gmail dot com 2008-12-15 16:41 ------- Created an attachment (id=16911) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16911&action=view) IRIX-6.2 only dummy implementation of pthread_setrunon_np()
This patch adds an empty implementation of pthread_setrunon_np() on IRIX 6.2. Since Ada threading seems to operate independent of GCC's 'enable-threads=posix' I've chosen the existence of SGI_INITIAL_PT_SPROC as a trigger to #include <pthreads.h> and thus prevent breakage on IRIX 5.x (which doesn't have pthreads at all). Testsuite results follow -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38400