Need deadlock code. -
12-17-2006
, 12:16 PM
Hello,
My software based on bdb crashed each time many process accesses the
same data base. It occurs only when one process tries to update the end
of database, all others do not crash and can read the data writen. No
problem if just one process update the db. I think it is a deadlock but
I am not sure. This problem occurs after a put() function.
I do not use "write" flag when I open a cursor. Each process open a
cursor( inside the database) that not set anywhere. There are no
transaction.
Could you send me some lines of sample code that show a deadlock and
crash the program. I can not send my code because it becomes very long
and too complex nowadays.
Thank you. |