From: Vladimir T. <pr...@hm...> - 2005-01-05 18:20:45
|
Hi, Mel! > > No wait is off (if i leave > > it on the whole thing hangs instead of the error message), I am using > dialect This decision of a problem is probable Probably you carry out ======== ret = SQLSetConnectAttr (hdbc, SQL_ATTR_AUTOCOMMIT, SQL_AUTOCOMMIT_OFF, 0); <---!!! ======== See if NOWAIT -> OFF Thread A Update Thread B Update (the whole thing hangs instead of the error message) if NOWAIT -> ON Thread A Update Thread B Update (deadlock conficts with concurrent update) > > relatively large and complex application. Although theres still the chance > > that it is my code I have exausted all the debugging and testing I can do, > > and as i stated first Very well. Please, small check 1) Thread A start section Mutex or critical section Update Commit stop section Mutex or critical section -- Best regards, Vladimir Tsvigun |