Browse thread
Has the thread cancellation problem evolved ?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Daniel_Bünzli <daniel.buenzli@e...> |
| Subject: | Re: [Caml-list] Has the thread cancellation problem evolved ? |
Le 28 août 07 à 13:42, Gerd Stolpmann a écrit : > But I don't see a good way to stop I/O operations. Simply close all > file > descriptors? Yes, possible, but you may leave files in an > unrecoverable > state. Again I'm not interested in stopping IO but I just note that if the user gets bored because its app hangs on IO, he will kill the process and the effect on files will be the same. I still think -- despite the caveats one needs to be aware of, e.g. about IO -- the feature is worthwhile and essential for ui programs that can trigger expensive computations. But since it seems to be seen more as a curse than a blessing I think I'll forget about the wish and try to get around with Gerd's hack. Thanks for the discussion, Daniel