HAL_Linux: more generic fix for scheduler issues in example sketches

this ensures drivers can run