Re: Multi Thread App
Posted in 1998
Art S. Kagel — — source: Informix-list mailing list archive (1991-1998)
Alexander Jaremenko wrote: > > Hi All, > I'm about to write multi thread application with ESQLC. I would like to > know how ODS would treat multiple threads doing sql requests - as > separate DB - user sessions ? > Happy New Year! ODS/ESQL-C versions 7.21 and later support threaded applications. Versions prior to 7.13 supported only one connection per process and 7.13->7.20 supported multiple sessions but only the main thread could access these. Version 7.21 is fully thread safe. A thread can enable any suspended connection and so multiple threads can share multiple connections in a meaningful cooperative way. Art S. Kagel