Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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 
example: 

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. 

Vincenzo

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