Hi Seenivasan,
by chance, we’ve recently thought about such a feature, but we’re not sure yet if it can be realized without undesired side-effects. One idea was to introduce a new pragma for explicitly locking parts of the code. This could look as follows:
(# db:lock #) { file:write(......) }
Jens may give you some more information soon, Christian ___________________________
On Tue, Jan 22, 2013 at 12:50 PM, Seenivasan Gunabalan seenivasan.gunabalan@dedalus.eu wrote:
Hi all, Is there a way to control concurrency from inside xqueries? Though its possible to achieve concurrency through REST (and RESTXQ?) interface, I am looking for ways to declaratively ask an xquery to run subqueries in a concurrent way.
Thanks in advance Seenivasan
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk