summaryrefslogtreecommitdiff
path: root/lib/timer.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2021-02-04 15:08:52 +0100
committerMaria Matejka <mq@ucw.cz>2021-11-22 19:05:43 +0100
commitb5061659d3cc011118024861c2f048e67affbd39 (patch)
tree6e31927baf828e11eec0876a990db6b4bda5ac5a /lib/timer.c
parenta845651bc50b75b2be41b4427e04857ce3c106a6 (diff)
POSIX threads and thread-local storage is needed for concurrent execution
Diffstat (limited to 'lib/timer.c')
-rw-r--r--lib/timer.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/timer.c b/lib/timer.c
index 381163d0..f978a0f3 100644
--- a/lib/timer.c
+++ b/lib/timer.c
@@ -40,8 +40,6 @@
struct timeloop main_timeloop;
-#ifdef USE_PTHREADS
-
#include <pthread.h>
/* Data accessed and modified from proto/bfd/io.c */
@@ -62,14 +60,6 @@ timeloop_init_current(void)
void wakeup_kick_current(void);
-#else
-
-/* Just use main timelooop */
-static inline struct timeloop * timeloop_current(void) { return &main_timeloop; }
-static inline void timeloop_init_current(void) { }
-
-#endif
-
btime
current_time(void)
{