CFDEMproject / Aspherix-CoSim-Socket-Lib

Library for co-simulation of different codes communicating via sockets.
Other
1 stars 1 forks source link

Sleep with double value #2

Open aaigner opened 3 years ago

aaigner commented 3 years ago

https://github.com/CFDEMproject/Aspherix-CoSim-Socket-Lib/blob/e2bcea0fb8a18728f234c517ae1603e8e3cf9ee7/aspherix_cosim_socket.cpp#L190

We use here sleep with 0.1, but this function only takes unsigned integers. --> sleep(0) which is useless. Either we use a proper sleep_for or we remove it.