Hello,
1. Deadlocks
Are they somehow resolved / controlled by jBASE 4.1? I think they are :)
which surprised me a lot.
I have created 2 simple programs in a following way:
Program A: READU RECORDITEM1; SLEEP 1000; READU RECORDITEM2
Program B: READU RECORDITEM2; SLEEP 1000; READU RECORDITEM1
and run them both in background.
I was positively surprised that after 3-5 seconds my second program went
into debbuger with jBASE "DEADLOCK" error.
Questions:
a) Is it possible to force program to logoff on deadlock situation
(avoid going into debugger) or to inform gracefully about situation and
handle it?
b) Are deadlocks detected disregarding from transaction context? (I am
talking about locks automatically taken when transaction is open)
2. SHOW-ITEM-LOCKS
How does this command work? Can I somehow programatically access locks
table? PROC file does not seem to keep any infomation about locks taken
by processes.
I would need something similar to SHOW-ITEM-LOCKS which displays locks
disregarding from selected locking mechanism.
Thank you very much for your time and good night.
Kind regards
Pawel
----------------------------------------------------
Życie w "Atramentowym Świecie" stanie się nie do zniesienia...
Przeczytaj!
http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fatrament.html&sid=513