You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Pybind to invoke C++ functions from a shared library. I also use Python multi threading for parallel invoking. But for a few test cases, C++ function returns incorrect data in multithreading; the return data is correct if not using multithreading.
Please let me know how to use multithreading for Pybind. Thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm using Pybind to invoke C++ functions from a shared library. I also use Python multi threading for parallel invoking. But for a few test cases, C++ function returns incorrect data in multithreading; the return data is correct if not using multithreading.
Please let me know how to use multithreading for Pybind. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions