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.
Alexander Selg — — source: Informix-list mailing list archive (1991-1998)
Zoltan Sekeres wrote:
>
> Hi !
>
> Currently I have a problem with
> - Informix 7.22
> - SINIX/Reliant Unix 5.43,
> - DCE 2.0 (SNI)
>
> The release notes of Informix 7.22 mention that esql is able of
> producing multithreaded applications with DCE-threads version 1.03
> and higher. It does NOT mention the switch -thread to esql which
> seems to be implemented in the esql-scipt.
>
> Anyway: I found the multithreaded Informix libraries and after a
> little hacking of the esql-scipt I was able to produce a binary.
> But the second called thread just says that the database is already
> in use.
>
> Has anybody managed to write an multithreaded esql application ?
> Did I miss something ? Or are the release notes just a hoax ?
> (A colleague had the same problem with HP-UX 10.1 and HP-DCE 1.4)
>
> Thanks in advance !
> Zoltan
Hello Zoltan !
Has the errormessage realy said "database" is already in use or does it
say that the "connectionname" is in use ? If you use multiple connection
in different threads you must assign different connectionnames to each
connection.
--
-------------------------------------------------------------------
Alexander Selg | e-mail: alexander.selg@siemens.at
Siemens AG Austria | Tel.: +43 1 1707-45960
A-1101 Wien, Gudrunstr. 11 | Fax.: +43 1 1707-55832
-------------------------------------------------------------------
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.