mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-30 10:38:55 +00:00
5447c406e5
Use a bit allocator for the allocation management of thread contexts, instead of holding allocation information within the Thread_base objects, which lead to race conditions in the past. Moreover, extend the Thread_base class interface with the ability to to add additional stacks to a thread, and associate the context they're located in with the corresponding Thread_base object. Additional stacks can be used to do user-level scheduling with stack switching, without breaking Genode's API. Fixes #1024 Fixes #1036
18 lines
431 B
Makefile
18 lines
431 B
Makefile
#
|
|
# \brief Portions of base library that are exclusive to non-core processes
|
|
# \author Norman Feske
|
|
# \date 2013-02-14
|
|
#
|
|
|
|
LIBS += base-common
|
|
|
|
SRC_CC += console/log_console.cc
|
|
SRC_CC += env/env.cc env/context_area.cc env/reload_parent_cap.cc \
|
|
env/cap_map_remove.cc env/cap_alloc.cc
|
|
SRC_CC += thread/thread_start.cc
|
|
|
|
INC_DIR += $(BASE_DIR)/src/base/env
|
|
|
|
vpath %.cc $(REP_DIR)/src/base
|
|
vpath %.cc $(BASE_DIR)/src/base
|