2015-04-15から1日間の記事一覧

use c11 thread emulate library on Mesa 3D Graphics Library

C11

my local gcc 4.9.2 is not support to "threads.h" yet. $ make gcc -Wall -std=c11 main.c -pthread main.c:2:21: fatal error: threads.h: No such file or directory #include <threads.h> ^ compilation terminated. Makefile:5: recipe for target 'test' failed </threads.h>…

c11のthreads.hを試したメモ

c11にthreads.hがあるとtweetで知ったので試してみた記録。 で、c11/threads.hググっていたら、まだgcc/glibc等にあまり実装されていないようで win32thread/pthread等でのエミュレーションライブラリが有るようなのでためしてみる。 上記のc11のエミュレー…