genode/repos/base/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
spec/x86 Integrate CAP session into PD session 2016-03-07 12:34:44 +01:00
core_mem_alloc.cc nova: use remote revoke 2015-10-09 16:38:48 +02:00
core_region_map.cc Assign threads to PD at its creation time 2016-05-09 13:10:52 +02:00
core_rpc_cap_alloc.cc Integrate CAP session into PD session 2016-03-07 12:34:44 +01:00
cpu_session_component.cc Thread API cleanup 2016-05-23 15:49:55 +02:00
cpu_session_support.cc base: separate native CPU from CPU session 2016-04-25 10:47:57 +02:00
dataspace_component.cc Consolidate RM service into PD session 2016-05-09 13:10:51 +02:00
default_log.cc base: new interface for textual output 2016-05-09 13:25:01 +02:00
dump_alloc.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
io_mem_session_component.cc base: introduce caching attributes (fix #1184) 2014-06-26 10:57:26 +02:00
main.cc Thread API cleanup 2016-05-23 15:49:55 +02:00
multiboot_info.cc base: use mmio framework for multiboot handling 2015-11-04 14:09:26 +01:00
pager_ep.cc base: redesign object pool using lambda interface 2015-09-09 15:14:28 +02:00
pager_object.cc Unify ipc_msgbuf.h across base platforms 2016-04-25 10:47:59 +02:00
pd_assign_pci.cc Integrate SIGNAL session into PD session 2016-03-07 12:34:44 +01:00
pd_session_component.cc Assign threads to PD at its creation time 2016-05-09 13:10:52 +02:00
pd_upgrade_ram_quota.cc Integrate SIGNAL session into PD session 2016-03-07 12:34:44 +01:00
platform_services.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
ram_session_component.cc core: do not destroy in object pool's apply scope 2015-09-30 12:20:40 +02:00
region_map_component.cc Assign threads to PD at its creation time 2016-05-09 13:10:52 +02:00
rom_session_component.cc base: introduce caching attributes (fix #1184) 2014-06-26 10:57:26 +02:00
rpc_cap_factory.cc Integrate CAP session into PD session 2016-03-07 12:34:44 +01:00
signal_source_component.cc Integrate SIGNAL session into PD session 2016-03-07 12:34:44 +01:00
stack_area.cc Assign threads to PD at its creation time 2016-05-09 13:10:52 +02:00
trace_session_component.cc core: throw Trace::Out_of_metadata in subjects() 2015-06-22 14:43:39 +02:00
version.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
version.inc Adapt version generation to new directory layout 2014-05-27 11:14:44 +02:00