Subject | Multi-threaded simultaneous isc_attach_database calls create problems |
---|---|
Author | Eric |
Post date | 2005-04-06T21:59:35Z |
We have Firebird 1.5.2 SuperServer and our client application creates
new threads for each database connection. When two connection requests
occur simultaneously in our multi-threaded environment, a call to
isc_attach_database is made, and then another call to
isc_attach_database occurs before the first call has returned, and
neither call returns.
Does Firebird not handle this situation, or is there something simple
going on here that somehow eludes us?
Thanks!
new threads for each database connection. When two connection requests
occur simultaneously in our multi-threaded environment, a call to
isc_attach_database is made, and then another call to
isc_attach_database occurs before the first call has returned, and
neither call returns.
Does Firebird not handle this situation, or is there something simple
going on here that somehow eludes us?
Thanks!