Re: OpenBSD cilkrts portability patch

2013-11-10 Thread Andi Kleen
John Carr writes: > I am trying to build the trunk version of gcc to have Cilk on OpenBSD. > > I attach three changes to libcilkrts. Two changes treat OpenBSD like > FreeBSD. One change is needed because OpenBSD defines PTHREAD_MUTEX_* as > enumerations rather than preprocessor constants. That

OpenBSD cilkrts portability patch

2013-11-09 Thread John Carr
I am trying to build the trunk version of gcc to have Cilk on OpenBSD. I attach three changes to libcilkrts. Two changes treat OpenBSD like FreeBSD. One change is needed because OpenBSD defines PTHREAD_MUTEX_* as enumerations rather than preprocessor constants. Index: /data/jfc/src/GNU/trunk/li