Re: Multithreaded process - connect problem
Posted in 1998
Arun Shastry wrote: > > Check the ESQL/C manuals, I believe you can only have one active > connection thread to a particular server. You could have multiple > connection threads to different servers, but only one can be active > at any given time. NO. Only one thread can be active on a given connection at a time and there can only be one shared memory connection in any process but beyond that you can have as many connections to as few servers, as you like. Turns out that David's was he had not linked -thread. Art S. Kagel > Arun > > David Ferguson wrote: > > > G'day > > I am writing a multi-threaded server. I can connect to the database in > > the main > > thread but not in my database thread. However, once connected, I can > > close and > > then re-connect successfully in my database thread. > > > > System: Solaris 2.5, Informiix 7.22 > > > > Any ideas? Thanks.