Re: multithreading programs
Posted in 1998
On Thu, 23 Apr 1998 19:46:01 -0500, Michael Segel <Mikey@NOSPAM.King.of.mydomain.MAPSON.Segel.com> wrote: >Ducks Kim wrote: > >> Anybody who knows how to make multiple connection to the ODS concurrently >> help me. >> Application uses java or esql/c. >> > >There are two ways of doing this using esql/c. >You can use threads() or fork(). > >Use of threads means you need to use thread safe libraries. >Using fork() you need to deal with IPC messaging between children >and parents. (Or you could use shared memory for communication >between children.) > >-Mikey And if you use Java you simply create any number of connection objects you want and use them in a single or multi treaded application as you wish. Very nice for simple things like filling a list from the database while you let the user continue with other work interactively and can be used effectively for more complex things as well. Another reason why Java is superior to the old ways. Nils Myklebust NM Data AS Norway E-mail: Nils.Myklebust@nmdata.com FAQ at: http://www.iiug.org/techinfo/faq/faq_top.html (Now with ODBC info under "Third party products".)