Re: [m-users.] ODBC library, parallel IO
Julien Fischer <[email protected]>
| Newsgroups | gmane.comp.lang.mercury.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Volker, On Thu, 16 Feb 2023, Volker Wysk wrote: > It seems to me that the ODBC library isn't thread safe, because many > foreigen_proc's aren't declared thead_safe. Is that so? Given the way that code currently uses global state, it isn't thread safe. > I believe that the parallel conjunction operator "&" can't be used for > parallel IO, because the second conjunct depends on the output IO state of > the first. Correct. > So, are explicit threads needed, when doing parallel IO? I couldn't find any > documentation or examples for using threads. Except for the API > documentation of the thread* libraries. There are some examples in samples/concurrency. Julien. _______________________________________________ users mailing list [email protected] https://lists.mercurylang.org/listinfo/users