[m-users.] ODBC library, parallel IO

Volker Wysk <[email protected]>
Newsgroups gmane.comp.lang.mercury.general
Message-ID <[email protected]>
Hi!

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?

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. 

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.

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+K4ydFOsHoUFAmPuaTIACgkQ+K4ydFOs
HoXJ4A//ffik5SQWgjo0wzvEAaI52PlHUhm81oPdGQ3WBxFm7KKjeMLW4WF1n1En
KQ10664HYhT2xDraXWuor2UFOW1i39dGU7yckVblIY8rnT7Pww+Pg28xHdHw4Xts
yWR+/CEQiDebU7FSU077BB9QKbG0iaSZ4emmBFskVgRBk+4i/5E7WMktBfab1Ksn
ZA+ajnFny8tLKD7N2nG9PD294xyjWicN+hrKuuGK4pT436cC1cmnmRnCGBtqtvvK
6gbmHlhRxIa+/0ZC0pew5n91h93iQOT0/YQc37PXVCwFPb5NlUcjUTfD1zxlnAH3
6rmJgEByl/Ux4w1+o1V72e5EmqOGPKQjg9jLOiaEiuUUn1P16gEJrPalwwmutE/N
xoL/9/MmMC+ZBWm/3vM8yayPNEP9zsLN14yGmIbMvfHz1rXRD3SRfqe3WxphkPB1
onh3NbuxgdwQCnZz9R/E1H2HmuEaap6x42EWy57qpVywdeSm03Pyy9j37eg1tgqq
NvnAYw3p0VX+FlISGGIsyKUI68v6K1n5EZOLRpWFBBfd982787RNCcNu/jUesiIZ
ZfS24AAxu/tlBjVG/MzuARKO1mNJ7/VA/4euz+wBn1y1gYHNEXg3Uh1xx9jsh8tZ
tL1UW1umWe2EeuHB/MgxXsi8OeYWrMW3XbWPNa/IYKNDGb1NggE=
=IGx5
-----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.