genode/repos/base-hw/src/core
Norman Feske fd401bdf53 Thread API cleanup
This patch cleans up the thread API and comes with the following
noteworthy changes:

- Introduced Cpu_session::Weight type that replaces a formerly used
  plain integer value to prevent the accidental mix-up of
  arguments.
- The enum definition of Cpu_session::DEFAULT_WEIGHT moved to
  Cpu_session::Weight::DEFAULT_WEIGHT
- New Thread constructor that takes a 'Env &' as first argument.
  The original constructors are now marked as deprecated. For the
  common use case where the default 'Weight' and 'Affinity' are
  used, a shortcut is provided. In the long term, those two
  constructors should be the only ones to remain.
- The former 'Thread<>' class template has been renamed to
  'Thread_deprecated'.
- The former 'Thread_base' class is now called 'Thread'.
- The new 'name()' accessor returns the thread's name as 'Name'
  object as centrally defined via 'Cpu_session::Name'. It is meant to
  replace the old-fashioned 'name' method that takes a buffer and size
  as arguments.
- Adaptation of the thread test to the new API

Issue #1954
2016-05-23 15:49:55 +02:00
..
include Thread API cleanup 2016-05-23 15:49:55 +02:00
kernel hw arm: avoid shared cache lines during MP init 2016-04-25 10:48:01 +02:00
spec hw_x86_64_muen: Use Bitset template for MSI address handle 2016-04-25 10:48:03 +02:00
boot_modules.s hw: map binaries of boot modules on demand 2014-06-06 14:54:31 +02:00
capability.cc hw: kernel backed capabilities (Fix #1443) 2015-05-26 09:40:04 +02:00
console.cc base: uniform base-internal header structure 2016-03-07 12:34:45 +01:00
core_region_map.cc Assign threads to PD at its creation time 2016-05-09 13:10:52 +02:00
cpu_session_support.cc base: redesign object pool using lambda interface 2015-09-09 15:14:28 +02:00
env.cc hw: kernel backed capabilities (Fix #1443) 2015-05-26 09:40:04 +02:00
io_mem_session_support.cc
irq_session_component.cc hw: Introduce platform-specifc MSI function 2016-02-26 11:36:54 +01:00
pager.cc Thread API cleanup 2016-05-23 15:49:55 +02:00
pd_upgrade_ram_quota.cc Integrate SIGNAL session into PD session 2016-03-07 12:34:44 +01:00
perf_counter.cc
platform_pd.cc Assign threads to PD at its creation time 2016-05-09 13:10:52 +02:00
platform_thread.cc Thread API cleanup 2016-05-23 15:49:55 +02:00
platform.cc base: retire 'Native_config' 2016-03-08 17:00:54 +01:00
ram_session_support.cc hw: correctly flush cache on ARM (fix #1257) 2014-10-10 13:02:30 +02:00
region_map_support.cc Thread API cleanup 2016-05-23 15:49:55 +02:00
target.mk base-hw: RISC-V Rocket Core on Zynq 2016-02-26 11:36:51 +01:00
thread_start.cc Thread API cleanup 2016-05-23 15:49:55 +02:00