/
githubmirror
/
julia
Обзор
Документация
Войти
/
githubmirror
/
julia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/win32_ucontext.h
30 строк
639 B
Jeff Bezanson
separate codegen/LLVM from julia runtime (#41936)
05 окт 2021, 23:14
Не верифицирован
05 окт 2021, 23:14
628209c
Код
Авторство
О чём код?
// This file is a part of Julia. License is MIT: https://julialang.org/license #ifndef JL_WINUCONTEXT_H #define JL_WINUCONTEXT_H #include "dtypes.h" #ifdef __cplusplus extern "C" { #endif #include <setjmp.h> typedef struct { struct stack_t { void *ss_sp; size_t ss_size; } uc_stack; jmp_buf uc_mcontext; #ifdef _COMPILER_TSAN_ENABLED_ void *tsan_state; #endif } win32_ucontext_t; void jl_makecontext(win32_ucontext_t *ucp, void (*func)(void)); void jl_swapcontext(win32_ucontext_t *oucp, const win32_ucontext_t *ucp); void jl_setcontext(const win32_ucontext_t *ucp); #ifdef __cplusplus } #endif #endif