threads, sql_context and the unknown

From: William K. Oberuch <william.oberuch_at_citicorp.com>
Date: 1996/12/13
Message-ID: <32B1A843.7574_at_citicorp.com>#1/1


Hello,
I am currently working on a project in which I need multiple threads connected to the database. I am developing for HP-UX 10.10 with C++ and Pro*C. I know Pro*C has a sql_context structure, but I am unsure of the exact syntax( our documentation has not been installed ..go figure ).

Can I login multiple times within the same program in different threads? Is that a good practice or should contexts be used?

Also the application is distributed using DCE.

Any information or sample source would be greatly appreciated.

Thanks,
Will  

+---------------------------------------+
 William Oberuch                             
 Software Engineer                                                   
 PSW Technologies        

 william.oberuch_at_citicorp.com
 woberuch_at_pswtech.com

+--------------------------------------+
Received on Fri Dec 13 1996 - 00:00:00 CET

Original text of this message