implement wordexp. first try, may be buggy. intended to be safe.
[musl] / src / internal / pthread_impl.h
index 7ab6243..a6d90e9 100644 (file)
@@ -42,6 +42,7 @@ struct pthread {
                void *pending;
        } robust_list;
        int unblock_cancel;
+       int delete_timer;
 };
 
 struct __timer {
@@ -75,6 +76,7 @@ struct __timer {
 
 #define SIGCANCEL 32
 #define SIGSYSCALL 33
+#define SIGTIMER 34
 
 int __set_thread_area(void *);
 int __libc_sigaction(int, const struct sigaction *, struct sigaction *);
@@ -86,6 +88,9 @@ int __timedwait(volatile int *, int, clockid_t, const struct timespec *, int);
 void __wait(volatile int *, volatile int *, int, int);
 void __wake(volatile int *, int, int);
 
+void __rsyscall_lock();
+void __rsyscall_unlock();
+
 #define DEFAULT_STACK_SIZE (16384-PAGE_SIZE)
 #define DEFAULT_GUARD_SIZE PAGE_SIZE