From 69ca9cfd78da8e27a958db1656b75bb9d1886e85 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 13 Nov 2019 21:49:24 +0100 Subject: 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. --- Servers/AudioServer/Makefile | 2 +- Servers/WindowServer/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Servers') 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 $< -- cgit v1.2.3