GNU/Linux: Make sure thread struct is cleared.

Also, added a comment for makecontext.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka
2021-02-09 16:50:48 +09:00
parent 66f08d87e4
commit 88909bab49
2 changed files with 14 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
2021-02-09 NIIBE Yutaka <gniibe@fsij.org>
* chopstx-gnu-linux.c (chopstx_create_arch): Clear TP.
* example-cdc-gnu-linux/sample.c (main): Handle timeout by canceling
input.