Hi Arie,

> @Joe could you show me an example where db locking didn't work?
>      Maybe I can test this and see if it does work correctly in the way I
> now set up PicoLisp in WSL?

You don't even need a DB to test the locking, the 'ctl' function will do.

To test it, open two terminals and start pil in both of them. Then in the first
one:

   : (ctl "a" (key))

This creates a file "a", locks it, and waits for you to type a key.

Then in the second terminal:

   : (ctl "a")

This should block, because the first one has still a lock on the file.

Now, if you type any key in the first terminal, both 'ctl' calls should return.

♪♫ Alex

-- 
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe

Reply via email to