Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
non-blocking Unix.*stat functions?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-10-29 (08:04)
From: Vincenzo Ciancia <vincenzo_mlRE.MOVE@y...>
Subject: Re: [Caml-list] non-blocking Unix.*stat functions?
On Thursday 28 October 2004 23:45, David Brown wrote:
> Well, in "ordinary" filesystems, stat and friends don't generally
> take very much time, which is probably why they aren't blocking.

Not quite, there is the cd reader; on a newly inserted cdrom for 

vincenzo@ronzinante vincenzo $ cd /mnt/cdrom
vincenzo@ronzinante cdrom $ time stat .

real    0m11.966s

this is also a problem with the Unix.LargeFile module of course. 


Money for nothing, that's the way you do it
[Dire Straits]