Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Killing an executing threaded OCI call

Killing an executing threaded OCI call

From: Barry Leslie <barry.leslie_at_snap.de>
Date: Tue, 16 Jan 2001 08:44:53 +0100
Message-ID: <940tq5$ct1$1@garnet.hamburg.cityline.net>

Is there any way to kill an OCIStmtExecute() command that is running in it's own thread?

This can be useful if you are executing an 'update' command on a record that is currently
locked by another transaction. The execution will block until the record is unlocked. I
would like to be able to cancel the blocked command. OCIBreak() doesn't do the job. At best
it does nothing, at worse it crashes the application.

Barry Received on Tue Jan 16 2001 - 01:44:53 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US