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
file mapped bigarray and Unix.unlink
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-07-02 (09:49)
From: David MENTRE <dmentre@l...>
Subject: Re: [Caml-list] file mapped bigarray and Unix.unlink
Hello Mathieu,

2009/7/2 Matthieu Dubuget <>:
> The strategy I adopted is to spawn a recursive thread that
> periodically try to erase the file until success.

That seems the wrong solution to me. The unlink syscall should work
immediately or you have another reason why it only works after a
certain time.