[m-users.] ODBC library, parallel IO

Volker Wysk post at volker-wysk.de
Fri Feb 17 18:06:44 AEDT 2023


Am Freitag, dem 17.02.2023 um 09:51 +1100 schrieb Julien Fischer:

> Hi Volker,

Hi!

> 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.

That's not so good... Do you have an idea how hard it would be to make it
thread safe?

And yesterday, after writing the message, I've found the "-lpthreads" in the
Mmakefile of the ODBC library. What does it use the the pthreads library
for, when it isn't thread safe ...? I'm just curious.

Cheers,
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mercurylang.org/archives/users/attachments/20230217/30208539/attachment.sig>


More information about the users mailing list