1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

POSIX threads and thread-local storage is needed for concurrent execution

This commit is contained in:
Maria Matejka
2021-02-04 15:08:52 +01:00
parent a845651bc5
commit b5061659d3
5 changed files with 31 additions and 54 deletions

View File

@@ -77,10 +77,6 @@ static inline int u64_cmp(u64 i1, u64 i2)
#define STATIC_ASSERT(EXP) _Static_assert(EXP, #EXP)
#define STATIC_ASSERT_MSG(EXP,MSG) _Static_assert(EXP, MSG)
#ifndef HAVE_THREAD_LOCAL
#define _Thread_local
#endif
/* Microsecond time */
typedef s64 btime;