Commit d66efdf6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove unused sleep constants

parent 17ac5f7b
...@@ -45,10 +45,6 @@ ...@@ -45,10 +45,6 @@
#define CLOCK_FREQ INT64_C(1000000) #define CLOCK_FREQ INT64_C(1000000)
/* When creating or destroying threads in blocking mode, delay to poll thread
* status */
#define THREAD_SLEEP ((mtime_t)(0.010*CLOCK_FREQ))
/***************************************************************************** /*****************************************************************************
* Interface configuration * Interface configuration
*****************************************************************************/ *****************************************************************************/
...@@ -70,9 +66,6 @@ ...@@ -70,9 +66,6 @@
/* Used in ErrorThread */ /* Used in ErrorThread */
#define INPUT_IDLE_SLEEP ((mtime_t)(0.100*CLOCK_FREQ)) #define INPUT_IDLE_SLEEP ((mtime_t)(0.100*CLOCK_FREQ))
/* Time to wait in case of read error */
#define INPUT_ERROR_SLEEP ((mtime_t)(0.10*CLOCK_FREQ))
/* Number of read() calls needed until we check the file size through /* Number of read() calls needed until we check the file size through
* fstat() */ * fstat() */
#define INPUT_FSTAT_NB_READS 16 #define INPUT_FSTAT_NB_READS 16
......
Markdown is supported
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