NPTL(Native POSIX Threading Library) Red Hat AS 3.0?

NPTL(Native POSIX Threading Library) Red Hat AS 3.0?

When will icc support NPTL Red Hat AS 3.0?

I'm currently using icc on Red Hat AS 3.0,on Itanium2
I didn't have any problems until I tried to a threaded application.

// test program

void * thread_function(void * junk)

{

cin.get();

return NULL;

}

int main()

{

pthread_create( thread_function );

pthread_cancel();

pthread_join();

return 0;

}

produces the following error message

ERROR Exception not from a c++ routine

Theproblem went away when I turned off NPTL!

setenv LD_ASSUME_KERNEL 2.4.1

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.