Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Mike Segel — — source: Informix-list mailing list archive (1991-1998)
Philip Walden wrote:
>
> The Informix-esql/c 7.2 manual describes threaded esql/c programs. It
> says that a process can have multiple "active" connections. One active
> connection per thread. However it also says that only one connection can
> be "current" at any time.
>
> What does this mean?
>
> Given a process with two threads, each with their own "active"
> connection to the same database make different select queries
> concurrently, will the queries be executed and acted upon concurrently
> by the server? Or will the first thread to submit the query cause the
> other thread to block until the first query returns?
>
> Phil
> --
Geez, I think that they are saying that they are not "thread" safe.
I think that a more appropriate question, is what is your app. trying
to accomplish? If you are planning multiple database connections,
should you fork versus thread your children vs parent app.
-Mikey
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.