use_file: switch to futex on Linux and to nanosleep on other targets
#490
+173
−136
nanosleep on other targets
#490