Skip to content

Conversation

@marc1uk
Copy link
Contributor

@marc1uk marc1uk commented Nov 14, 2024

and replace with a call to Ready (poll zmq output sockets for listener). This only waits as long as is necessary.
Builds on PR #35

@marc1uk
Copy link
Contributor Author

marc1uk commented Nov 28, 2024

The only difference between this and #35 is it replaces the sleep in the Services constructor with a call to the Ready function introduced in #35.

@marc1uk
Copy link
Contributor Author

marc1uk commented Nov 28, 2024

alright hang on, the backend services has a thread that does all the sending/receiving and this poll is in the main application, which then raises an assertion failed because zmq sockets aren't thread-safe. 😑
Will have to rethink...

@marc1uk
Copy link
Contributor Author

marc1uk commented Nov 28, 2024

ok sorted, added a mutex lock

@brichards64 brichards64 merged commit 1a68425 into ToolDAQ:main Aug 5, 2025
1 check failed
@marc1uk marc1uk deleted the replacedelay branch November 20, 2025 00:05
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

Successfully merging this pull request may close these issues.

3 participants