Skip to content
Snippets Groups Projects
Commit 9204ed15 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

fixed blocking read transfer for the constant accessor: should only return on...

fixed blocking read transfer for the constant accessor: should only return on first read and then block forever
parent 5d9c0ec6
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,12 @@ namespace ChimeraTK {
}
void doReadTransfer() override {
if(firstRead) {
firstRead = false;
return;
}
// block forever
boost::promise<void>().get_future().wait();
}
bool doReadTransferNonBlocking() override {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment