Commit 0e19601f authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Remove a error when the blc_command_loop_end is called and blc_status is quit....

Remove a error when the blc_command_loop_end is called and blc_status is quit. It is normal to happen sometime
parent aad02cd8
......@@ -202,9 +202,7 @@ void blc_command_loop_end(){
div_t ratio;
struct timespec time_left, tmp_rem;
int diff, i;
if (blc_status==BLC_QUIT) EXIT_ON_ERROR("You have stopped the loop, you should not access here");
//We post the semaphore usualy to say the data is ready to read
FOR(i, posting_semaphores_nb) SYSTEM_ERROR_CHECK(sem_post(posting_semaphores[i]), -1, NULL);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment