genodelabs/genode — Issue #10: Remove thread iterator from CPU session (was mantis id 48)
Author: nfeske
Created: 2011-12-20 08:58:15+00:00
State: open

The thread iterator of the CPU session is an ancient relic from a profiling-tool experiment we did together with Torsten Frenzel some years back. In the meantime, we have learned better ways to observe subsystems (by virtualizing core's services) such that these functions are considered obsolete. However, unfortunately, there are a few users of these functions (e.g., OKLinux, which uses these functions to determine its own main-thread capability). We should revisit all current use cases of the thread iterator, change their implementations to use a different mechanism, and remove the thread iterator functions ('first', 'next') from the generic interface.