include pthread in libc

This commit is contained in:
K. Lange 2018-05-09 21:26:45 +09:00
parent 1f8ef3dcab
commit b6d6d8900e
9 changed files with 5 additions and 9 deletions

View File

@ -29,9 +29,9 @@
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/time.h> #include <sys/time.h>
#include <pthread.h>
#include <toaru/graphics.h> #include <toaru/graphics.h>
#include <toaru/pthread.h>
#include <toaru/mouse.h> #include <toaru/mouse.h>
#include <toaru/kbd.h> #include <toaru/kbd.h>
#include <toaru/pex.h> #include <toaru/pex.h>

View File

@ -11,10 +11,10 @@
#include <assert.h> #include <assert.h>
#include <syscall.h> #include <syscall.h>
#include <unistd.h> #include <unistd.h>
#include <pthread.h>
#include <toaru/yutani.h> #include <toaru/yutani.h>
#include <toaru/graphics.h> #include <toaru/graphics.h>
#include <toaru/pthread.h>
#define TRACE_APP_NAME "drawlines" #define TRACE_APP_NAME "drawlines"
#include <toaru/trace.h> #include <toaru/trace.h>

View File

@ -22,13 +22,13 @@
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
#include <syscall.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/utsname.h> #include <sys/utsname.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <toaru/pthread.h>
#include <toaru/yutani.h> #include <toaru/yutani.h>
#include <toaru/graphics.h> #include <toaru/graphics.h>
#include <toaru/hashmap.h> #include <toaru/hashmap.h>

View File

@ -12,11 +12,11 @@
#include <math.h> #include <math.h>
#include <syscall.h> #include <syscall.h>
#include <wait.h> #include <wait.h>
#include <pthread.h>
#include <toaru/yutani.h> #include <toaru/yutani.h>
#include <toaru/graphics.h> #include <toaru/graphics.h>
#include <toaru/decorations.h> #include <toaru/decorations.h>
#include <toaru/pthread.h>
#include <toaru/spinlock.h> #include <toaru/spinlock.h>
#include <toaru/menu.h> #include <toaru/menu.h>

View File

@ -28,7 +28,6 @@
#include <toaru/yutani.h> #include <toaru/yutani.h>
#include <toaru/graphics.h> #include <toaru/graphics.h>
#include <toaru/pthread.h>
#define GAME_PATH "/usr/share/pong" #define GAME_PATH "/usr/share/pong"

View File

@ -15,7 +15,6 @@
#include <toaru/yutani.h> #include <toaru/yutani.h>
#include <toaru/graphics.h> #include <toaru/graphics.h>
#include <toaru/pthread.h>
static int left, top, width, height; static int left, top, width, height;

View File

@ -6,8 +6,7 @@
#include <stdint.h> #include <stdint.h>
#include <syscall.h> #include <syscall.h>
#include <signal.h> #include <signal.h>
#include <pthread.h>
#include <toaru/pthread.h>
#define PTHREAD_STACK_SIZE 0x100000 #define PTHREAD_STACK_SIZE 0x100000

View File

@ -24,7 +24,6 @@ class Classifier(object):
'<toaru/list.h>': (None, '-ltoaru_list', []), '<toaru/list.h>': (None, '-ltoaru_list', []),
'<toaru/hashmap.h>': (None, '-ltoaru_hashmap', ['<toaru/list.h>']), '<toaru/hashmap.h>': (None, '-ltoaru_hashmap', ['<toaru/list.h>']),
'<toaru/tree.h>': (None, '-ltoaru_tree', ['<toaru/list.h>']), '<toaru/tree.h>': (None, '-ltoaru_tree', ['<toaru/list.h>']),
'<toaru/pthread.h>': (None, '-ltoaru_pthread', []),
'<toaru/pex.h>': (None, '-ltoaru_pex', []), '<toaru/pex.h>': (None, '-ltoaru_pex', []),
'<toaru/graphics.h>': (None, '-ltoaru_graphics', []), '<toaru/graphics.h>': (None, '-ltoaru_graphics', []),
'<toaru/drawstring.h>': (None, '-ltoaru_drawstring', ['<toaru/graphics.h>']), '<toaru/drawstring.h>': (None, '-ltoaru_drawstring', ['<toaru/graphics.h>']),