genode/repos/libports/src/lib/libc
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/spec Move server API concept to base framework 2016-04-11 11:51:46 +02:00
patches libports: migrate to new ports mechanism 2014-05-27 11:14:42 +02:00
atexit.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
clock_gettime.cc libc: utilize Rtc_file_system in time functions 2014-08-22 16:16:41 +02:00
dummies.cc Libc: sigprocmask reports all signals blocked 2016-01-13 11:13:52 +01:00
dynamic_linker.cc base: Genode's dynamic linker 2014-11-12 14:44:15 +01:00
environ.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
errno.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
exit.cc libc: remove debugging artifact from exit() 2015-05-26 09:39:53 +02:00
fd_alloc.cc libc: read sysctl info from /.sysctl/... 2016-05-09 13:09:56 +02:00
file_operations.cc libc: remove trailing slash during file operations 2016-03-17 17:15:32 +01:00
gai_strerror.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
gettimeofday.cc libc: utilize Rtc_file_system in time functions 2014-08-22 16:16:41 +02:00
issetugid.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
libc_debug.h vfs: use 64bit for file offset and size 2014-10-10 13:02:28 +02:00
libc_errno.h libc: read sysctl info from /.sysctl/... 2016-05-09 13:09:56 +02:00
libc_file.h libc: refactor socket operations 2015-08-21 11:00:57 +02:00
libc_mem_alloc.cc Clean up base-library structure 2016-05-09 13:24:11 +02:00
libc_mem_alloc.h Consolidate RM service into PD session 2016-05-09 13:10:51 +02:00
libc_mmap_registry.h Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
libc_pdbg.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
libc_pdbg.h Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
log2.c Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
malloc.cc base: hide slab implementation details from API 2016-04-25 10:47:56 +02:00
nanosleep.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
plugin_registry.cc libc: support access() in plugins 2015-09-30 12:20:38 +02:00
plugin.cc libc: support access() in plugins 2015-09-30 12:20:38 +02:00
poll.cc vfs: use 64bit for file offset and size 2014-10-10 13:02:28 +02:00
pread_pwrite.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
progname.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
readv_writev.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
rlimit.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
rtc.cc libc: fix compiler warning (issue #1434) 2015-03-13 12:17:24 +01:00
select.cc vfs: use 64bit for file offset and size 2014-10-10 13:02:28 +02:00
signal.cc Libc: sigprocmask reports all signals blocked 2016-01-13 11:13:52 +01:00
socket_operations.cc libc: refactor socket operations 2015-08-21 11:00:57 +02:00
sysctl.cc libc: read sysctl info from /.sysctl/... 2016-05-09 13:09:56 +02:00
task.cc Thread API cleanup 2016-05-23 15:49:55 +02:00
Version.def Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
version.inc libc: read sysctl info from /.sysctl/... 2016-05-09 13:09:56 +02:00
vfs_plugin.cc lib/vfs: new permissions errors 2016-04-25 10:47:54 +02:00