mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
fbe9d26c47
Previously, the trace control of a thread was initialized in its constructor (which is generic for all components). This has the disadvantage that the CPU-session-pointer member of the thread might not be valid at this point. And it cannot be replaced by using the "deprecated_env" CPU session neither as constructing the deprecated environment in causes troubles in Core. But as the trace control shouldn't be needed in Core anyway, the initialization can be moved to the Thread::start implementation of non-core components. This code already takes care of the CPU session pointer. Fixes #2901 |
||
---|---|---|
.. | ||
doc | ||
etc | ||
include | ||
lib/mk | ||
ports | ||
recipes | ||
run | ||
src |