Revision 70bb89c174eea5b404bed840466a50ddefd0a02a authored by Keno Fischer on 15 April 2024, 08:14:05 UTC, committed by Keno Fischer on 15 April 2024, 08:14:05 UTC
This reverts commit 8d577ab3f24212a9762ad6673e8a8fb0ecd5a140.
1 parent 7ba1b33
win32_ucontext.h
// 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
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...