| Crates.io | dds-bridge-sys |
| lib.rs | dds-bridge-sys |
| version | 2.0.3 |
| created_at | 2024-05-24 19:49:47.322157+00 |
| updated_at | 2025-02-08 19:00:47.751944+00 |
| description | Generated bindings to DDS, the double dummy solver for bridge |
| homepage | |
| repository | https://github.com/jdh8/dds-bridge-sys |
| max_upload_size | |
| id | 1251493 |
| size | 737,980 |
Generated bindings to dds-bridge/dds, the C++ double dummy solver for contract bridge.
This library needs manual initialization! Initialize the thread pool with
SetMaxThreads
before calling other library functions:
use dds_bridge_sys as dds;
// 0 stands for automatic configuration
unsafe { dds::SetMaxThreads(0) };
Also note that functions using the thread pool are not reentrant. You may want to use a mutex to ensure that only one thread is using the thread pool.