Is there any way to set a timeout on Oracle OCI calls (OCIStmtExecute for example) ?
Thanks
Is there any way to set a timeout on Oracle OCI calls (OCIStmtExecute for example) ?
Thanks
There is no way provided by OCI
itself.
You can create a Timer
and issue an OCIBreak()
on timeout.
OCIBreak()
is thread safe and signal safe.