[REBOL] Re: Multiuser database
From: gabriele::colellachiara::com at: 22-Mar-2006 12:34
Hi Petr,
On Tuesday, March 21, 2006, 7:38:42 PM, you wrote:
PK> OK, so why opening file under linux does not lock it automatically? I
PK> would simply vote for such mechanism being available to rebol, if
PK> possible and cross platform ... open/lock
[...]
PK> If natively, it could be handled inside rebol then ....
It probably should, but it's likely to be a pain to do in a
multiplatform way (i.e. if we want the exact same behavior in all
platforms)... not that I have studied the issue deeply, though.
>>The best solution is always to have a single-threaded process
>>providing serialized access to the given resource. When you can't
>>do that, you are forced to deal with troubles.
PK> how is that? we have semaphores, no? :-)
Yep, but the above is much simpler. :)
Regards,
Gabriele.
--
Gabriele Santilli <gabriele-rebol.com> --- http://www.rebol.com/
Colella Chiara software division --- http://www.colellachiara.com/