tqcq
f84711702d
Some checks failed
android / build (push) Successful in 1m32s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 1m35s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Failing after 1m49s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Failing after 1m44s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Failing after 2m1s
linux-arm-gcc / linux-gcc-arm (Release) (push) Failing after 1m55s
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 29s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 1m23s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 28s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Failing after 1m25s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 1m49s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Failing after 2m26s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Failing after 2m28s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 5m6s
linux-x86-gcc / linux-gcc (Release) (push) Failing after 3m29s
linux-x86-gcc / linux-gcc (Debug) (push) Failing after 5m54s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Failing after 9m46s
29 lines
571 B
C
29 lines
571 B
C
/*
|
|
* Nova-Context
|
|
* This file is part of the Nova-Context library source code.
|
|
* Copyright (c) 2023 - The Nova Project
|
|
*/
|
|
|
|
#ifndef NOVA_CONTEXT_TSAN_H
|
|
#define NOVA_CONTEXT_TSAN_H
|
|
|
|
#if defined(__SANITIZER_THREAD__) || __has_feature(thread_sanitizer)
|
|
#define NOVA_CONTEXT_TSAN
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void *__tsan_get_current_fiber(void);
|
|
void *__tsan_create_fiber(unsigned flags);
|
|
void __tsan_destroy_fiber(void *fiber);
|
|
void __tsan_switch_to_fiber(void *fiber, unsigned flags);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif //NOVA_CONTEXT_TSAN_H
|