Figure out where to install-libs
[akaros.git] / user / pthread / pthread.h
index 1bd2ae9..2613cac 100644 (file)
@@ -39,7 +39,9 @@ struct pthread_tcb {
        void *(*start_routine)(void*);
        void *arg;
        void *retval;
-       uint64_t sigmask;
+       sigset_t sigmask;
+       sigset_t sigpending;
+       struct sigdata *sigdata;
 };
 typedef struct pthread_tcb* pthread_t;
 TAILQ_HEAD(pthread_queue, pthread_tcb);
@@ -138,6 +140,8 @@ void __pthread_generic_yield(struct pthread_tcb *pthread);
 /* The pthreads API */
 int pthread_attr_init(pthread_attr_t *);
 int pthread_attr_destroy(pthread_attr_t *);
+int __pthread_create(pthread_t *, const pthread_attr_t *,
+                     void *(*)(void *), void *);
 int pthread_create(pthread_t *, const pthread_attr_t *,
                    void *(*)(void *), void *);
 int pthread_detach(pthread_t __th);