diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-11-13 21:49:24 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-11-13 21:49:24 +0100 |
commit | 69ca9cfd78da8e27a958db1656b75bb9d1886e85 (patch) | |
tree | c212e54e963f17cc8112cee81d58f3fc409b7127 /Servers | |
parent | 4fe2ee0221ee8bf457fe2b20b095b1b1af520b86 (diff) | |
download | serenity-69ca9cfd78da8e27a958db1656b75bb9d1886e85.zip |
LibPthread: Start working on a POSIX threading library
This patch adds pthread_create() and pthread_exit(), which currently
simply wrap our existing create_thread() and exit_thread() syscalls.
LibThread is also ported to using LibPthread.
Diffstat (limited to 'Servers')
-rw-r--r-- | Servers/AudioServer/Makefile | 2 | ||||
-rw-r--r-- | Servers/WindowServer/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Servers/AudioServer/Makefile b/Servers/AudioServer/Makefile index 53e6ee811e..5319635f11 100644 --- a/Servers/AudioServer/Makefile +++ b/Servers/AudioServer/Makefile @@ -19,7 +19,7 @@ AudioServerEndpoint.h: AudioServer.ipc @echo "IPC $<"; $(IPCCOMPILER) $< > $@ $(APP): $(OBJS) - $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lc -lcore -lipc -lthread + $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lc -lcore -lipc -lthread -lpthread .cpp.o: @echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $< diff --git a/Servers/WindowServer/Makefile b/Servers/WindowServer/Makefile index a1cbbd8d67..4f88b53189 100644 --- a/Servers/WindowServer/Makefile +++ b/Servers/WindowServer/Makefile @@ -26,7 +26,7 @@ DEFINES += -DUSERLAND all: $(APP) $(APP): $(OBJS) - $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lc -lcore -ldraw -lthread + $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lc -lcore -ldraw -lthread -lpthread .cpp.o: @echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $< |