Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simultaneous dds loaded from python #122

Open
gkby79 opened this issue Jun 28, 2022 · 1 comment
Open

Simultaneous dds loaded from python #122

gkby79 opened this issue Jun 28, 2022 · 1 comment

Comments

@gkby79
Copy link

gkby79 commented Jun 28, 2022

There are a few use-cases where people are using DDS as an aid for analysis in python for machine learning for bridge

One of the things which goes wrong is that people import (for example) bridgebots, endplay and redeal and use them for various functionality which is not shared between them.

On macOS 11.2 (but probably many other macOS) if two libraries are concurrently loaded, it seg-faults as soon as the second one is called, which seems to be a problem with threading, see

anntzer/redeal#15

@ThorvaldAagaard
Copy link

I have found that on MacOS 15.1 two calls to the library will fail if you call dds.SetMaxThreads(0) more than once

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants