Subject | Firebird 25 thread safety |
---|---|
Author | ma_golyo |
Post date | 2011-01-21T13:54:52Z |
Hi!
From the documentation : "The client libraries, including the embedded one, can now be used in multi-threaded applications without any application-level synchronization."
What does this exactly mean?
#1 : Can I use only a single connection accessing by multiple transactions from different threads at the same time?
#2 : Can I use only a single transaction accessing by multiple "querys" from different threads at the same time?
I fail #1 (Delphi7 - IBO 4.8.6, but the cause can be IBO itself, not the FB client.)
Never tied #2.
From the documentation : "The client libraries, including the embedded one, can now be used in multi-threaded applications without any application-level synchronization."
What does this exactly mean?
#1 : Can I use only a single connection accessing by multiple transactions from different threads at the same time?
#2 : Can I use only a single transaction accessing by multiple "querys" from different threads at the same time?
I fail #1 (Delphi7 - IBO 4.8.6, but the cause can be IBO itself, not the FB client.)
Never tied #2.