Dear Marco and others,
A few questions and clarifications around threads and BreakExecution...
1) We have a thread, with its own session and package, both created in the main thread. Is it allowed to LogOn in the secondary thread ? With ThreadSafe = True ? False ?
2) Is it allowed to LogOff in the main thread after the thread has stopped ? When the thread is running and doing db access ? With ThreadSafe = True ? False ?
3) The thread is waiting on DbmsAlerts (with a timeout). Is it allowed to BreakExecution from the main thread ? Do we need ThreadSafe true if the only operation performed in the main thread is BreakExecution ? Will the BreakExecution hang ?
Thanks a lot, really...
--- Raoul
A few questions and clarifications around threads and BreakExecution...
1) We have a thread, with its own session and package, both created in the main thread. Is it allowed to LogOn in the secondary thread ? With ThreadSafe = True ? False ?
2) Is it allowed to LogOff in the main thread after the thread has stopped ? When the thread is running and doing db access ? With ThreadSafe = True ? False ?
3) The thread is waiting on DbmsAlerts (with a timeout). Is it allowed to BreakExecution from the main thread ? Do we need ThreadSafe true if the only operation performed in the main thread is BreakExecution ? Will the BreakExecution hang ?
Thanks a lot, really...
--- Raoul