Add GNU/Linux support (not yet makefile).

This commit is contained in:
NIIBE Yutaka
2017-06-23 09:05:11 +09:00
parent 1bd14d8d40
commit 78c825afe8
3 changed files with 353 additions and 0 deletions

9
chopstx-gnu-linux.h Normal file
View File

@@ -0,0 +1,9 @@
/*
* The thread context: specific to GNU/Linux.
*
* We use the type ucontext_t, which includes all registers;
* Note that signal mask is also included in ucontext_t.
*
*/
typedef ucontext_t tcontext_t;