summaryrefslogtreecommitdiff
path: root/Libraries/LibC/unistd.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-11-17 17:28:17 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-17 17:29:20 +0100
commite34ed04d1ee26e0b4e03d6c6b79b3ff195f9458c (patch)
tree60bad4a678f4f56bc14c7cb8e6f3793871860a58 /Libraries/LibC/unistd.h
parent6685be36a0c12dfd7e37fcba37afbc4facb6a49d (diff)
downloadserenity-e34ed04d1ee26e0b4e03d6c6b79b3ff195f9458c.zip
Kernel+LibPthread+LibC: Create secondary thread stacks in userspace
Have pthread_create() allocate a stack and passing it to the kernel instead of this work happening in the kernel. The more of this we can do in userspace, the better. This patch also unexposes the raw create_thread() and exit_thread() syscalls since they are now only used by LibPthread anyway.
Diffstat (limited to 'Libraries/LibC/unistd.h')
-rw-r--r--Libraries/LibC/unistd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Libraries/LibC/unistd.h b/Libraries/LibC/unistd.h
index 8f57122693..c7999b335c 100644
--- a/Libraries/LibC/unistd.h
+++ b/Libraries/LibC/unistd.h
@@ -35,8 +35,6 @@ void sysbeep();
int systrace(pid_t);
int gettid();
int donate(int tid);
-int create_thread(void *(*)(void*), void* argument);
-void exit_thread(void*);
int create_shared_buffer(int, void** buffer);
int share_buffer_with(int, pid_t peer_pid);
int share_buffer_globally(int);