Re: [m-users.] ODBC library, parallel IO

Volker Wysk <[email protected]>
Newsgroups gmane.comp.lang.mercury.general
Message-ID <[email protected]>
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

_______________________________________________
users mailing list
[email protected]
https://lists.mercurylang.org/listinfo/users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmPvJ4QACgkQ+K4ydFOs
HoU3Eg//cCdLC8L0UaUklt61vG5egOOITP5v491Sfd3ruhSgTzS74JW5u6H5b4Wp
suYWkRe+z2rxYPNyNhqFTmDgMW4nRMbTEYdZgwuSfJo3JvvPUvsK2WWPrtrse3pU
EdckgbnlfmYbjxvJ1Sx5ImjJLq5XyaU1WbXXOcXW2ZZIbzSFIqkY2xa1U+sGXttk
Lh7k6vQw8kM0ymzYe1RpgBipv73+MaLVIbJcyYtScqL70K8jAZqFbmw/0FYx1Ccy
ikfOgruIG8X1dujNJi6D6njeZG3ccz3PTB/VtJ7YlTvYCe3bEOjxy+Mwd3xyDYOo
4cRZ/SoKn89/koJbLgxxCAPQdsl5XaCfcNzvreNutuCdblNzIXoo+l3X5M2lokDG
R8QjIvS1JgN2eOPnCLCGPIeAYWLCGY8yWSPggPXjZtSOVdYLMfEC+t0aFysiaSbk
aQQ9T2O/oW8K5tOmzK3WuSDbSB0OeNT4gC+MDiAwnCvalHbXWk3jQZ5XsMP9SAJ7
P+UGFy0EHa5UyyaH60RVEqLWSDMuyMz4hg0P2oSrOboXEhfOFjTlw2sGqAquaMm9
ZSpFHjB7IJngXi7rtcXHcXz+40sLtQjWzZBeFkmiQeqgjsasGSMiHWOkZx7mB/wY
E05Qsif2xzEiPvw7KIc72dbSx44WDJpTiyXQ2ZGLR41+r5dX3z0=
=tW4o
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.