ruby/coroutine
Nobuyoshi Nakada 4f6b827e98
Use __asm instead of asm
With `--std=c99` option coroutine/arm64/Context.h errs:

```
In file included from cont.c:26:
coroutine/arm64/Context.h:59:5: error: call to undeclared function 'asm'; ISO C99 and later do not support
      implicit function declarations [-Wimplicit-function-declaration]
   59 |     asm ("hint #8;" : "+r"(r17) : "r"(r16));
      |     ^
```

Also move the common function header.
2024-02-06 12:19:56 +09:00
..
amd64 Avoid memory dependency between instructions. (#8284) 2023-08-25 13:28:33 +12:00
arm32 Replace copy coroutine with pthread implementation. 2021-07-01 11:23:03 +12:00
arm64 Use __asm instead of asm 2024-02-06 12:19:56 +09:00
asyncify wasm: align fiber stack pointer to 16 bytes 2024-01-29 23:45:36 +09:00
emscripten Replace copy coroutine with pthread implementation. 2021-07-01 11:23:03 +12:00
loongarch64 Add support for LoongArch (#7343) 2023-02-22 13:11:33 +09:00
ppc Do not use non-ASCII chars in sources 2023-11-05 02:14:26 +09:00
ppc64 Do not use non-ASCII chars in sources 2023-11-05 02:14:26 +09:00
ppc64le Replace copy coroutine with pthread implementation. 2021-07-01 11:23:03 +12:00
pthread Ignore dead threads in coroutine_join. 2021-07-02 12:36:14 +12:00
riscv64 Replace copy coroutine with pthread implementation. 2021-07-01 11:23:03 +12:00
ucontext Replace copy coroutine with pthread implementation. 2021-07-01 11:23:03 +12:00
universal Ruby31: add support for Darwin ppc/ppc64 (#5927) 2022-05-22 15:02:03 +12:00
win32 Replace copy coroutine with pthread implementation. 2021-07-01 11:23:03 +12:00
win64 Replace copy coroutine with pthread implementation. 2021-07-01 11:23:03 +12:00
x86 Replace copy coroutine with pthread implementation. 2021-07-01 11:23:03 +12:00