mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 23:53:55 +00:00
thread: move Thread_base::myself() to separate file
The thread library (thread.cc) in base-foc shared 95% of the code with the generic implementation except myself(). Therefore, its implementation is now separated from the other generic sources into myself.cc, which allows base-foc to use a foc-specific primitive to enable our base libraries in L4Linux. Issue #1491
This commit is contained in:
@ -23,7 +23,7 @@ SRC_CC = main.cc \
|
||||
thread_linux.cc \
|
||||
context_area.cc \
|
||||
core_printf.cc \
|
||||
thread.cc
|
||||
thread.cc myself.cc
|
||||
|
||||
INC_DIR += $(REP_DIR)/src/core/include \
|
||||
$(GEN_CORE_DIR)/include \
|
||||
@ -58,5 +58,6 @@ vpath signal_source_component.cc $(GEN_CORE_DIR)
|
||||
vpath trace_session_component.cc $(GEN_CORE_DIR)
|
||||
vpath core_printf.cc $(BASE_DIR)/src/base/console
|
||||
vpath thread.cc $(BASE_DIR)/src/base/thread
|
||||
vpath myself.cc $(BASE_DIR)/src/base/thread
|
||||
vpath trace.cc $(BASE_DIR)/src/base/thread
|
||||
vpath %.cc $(PRG_DIR)
|
||||
|
Reference in New Issue
Block a user