Re: Go patch committed: New lock/note implementation

2011-12-01 Thread Rainer Orth
Ian Lance Taylor i...@google.com writes: ... and also Solaris 8 and 9 bootstrap which lack sem_timedwait: /vol/gcc/src/hg/trunk/local/libgo/runtime/thread-sema.c: In function 'runtime_semasleep': /vol/gcc/src/hg/trunk/local/libgo/runtime/thread-sema.c:42:7: error: implicit declaration of

Re: Go patch committed: New lock/note implementation

2011-11-29 Thread Ian Lance Taylor
Rainer Orth r...@cebitec.uni-bielefeld.de writes: Ian Lance Taylor i...@google.com writes: This patch updates the implementations of locks and notes used in libgo to use the current version from the master Go library. This now uses futexes when running on GNU/Linux, while still using

Re: Go patch committed: New lock/note implementation

2011-11-29 Thread Ian Lance Taylor
Rainer Orth r...@cebitec.uni-bielefeld.de writes: Rainer Orth r...@cebitec.uni-bielefeld.de writes: This broke bootstrap on Linux/x86_64 (CentOS 5.5), which lacks O_CLOEXEC. ... and also Solaris 8 and 9 bootstrap which lack sem_timedwait:

Re: Go patch committed: New lock/note implementation

2011-11-25 Thread Rainer Orth
Ian Lance Taylor i...@google.com writes: This patch updates the implementations of locks and notes used in libgo to use the current version from the master Go library. This now uses futexes when running on GNU/Linux, while still using semaphores on other systems. This implementation should

Re: Go patch committed: New lock/note implementation

2011-11-25 Thread Rainer Orth
Rainer Orth r...@cebitec.uni-bielefeld.de writes: This broke bootstrap on Linux/x86_64 (CentOS 5.5), which lacks O_CLOEXEC. ... and also Solaris 8 and 9 bootstrap which lack sem_timedwait: /vol/gcc/src/hg/trunk/local/libgo/runtime/thread-sema.c: In function 'runtime_semasleep':