Re: [racket] flock() stops racket-5.1.1 build on Solaris x86

2011-05-24 Thread Matthew Flatt
At Tue, 24 May 2011 12:33:47 +0100, Tim Brown wrote: > > From a Racket implementor's perspective, the BSD side has it right. > > It's not just subroutines within Racket, but different threads within a > > single Racket process that might compete for a file lock; when a thread > > fails to obtain a

Re: [racket] flock() stops racket-5.1.1 build on Solaris x86

2011-05-24 Thread Tim Brown
On 24/05/11 03:28, Matthew Flatt wrote: At Mon, 23 May 2011 12:52:12 +0100, Tim Brown wrote: Solaris seems to take quite a dim view of flock(); from man flock(): That's nothing compared to the dim view of F_SETLK in the BSD world. Ooh... this sounds like it could get religious! From a Rac

Re: [racket] flock() stops racket-5.1.1 build on Solaris x86

2011-05-23 Thread Matthew Flatt
At Mon, 23 May 2011 12:52:12 +0100, Tim Brown wrote: > My never ending battle to get racket to play nice with Solaris continues: > [...] > STREAMS and STREAM fds on Solaris use fcntl(F_GETLK/F_SETLK, F_SETLKW) > and their 64-bit counterparts F_GETLK64 etc. However, these need a pointer > to a lock