Norman Feske aa9ff3894c base: scoped access of Native_thread
With planned removal of Thread:: exceptions, we need to consider that a
'Thread' object may exist without a valid 'Stack' and therefore without
a valid 'Native_thread', which is hosted as part of the 'Stack'.

This patch reworks the code that accesses the 'Native_thread' to use the
new 'Thread::with_native_thread' interface. Within the local scope,
the native thread is referred to as 'nt'.

The _init_platform_thread and _deinit_platform_thread() have been
replaced by _init_native_thread and _deinit_native_thread, which take
a 'Stack &' as argument.

As a safety caution, 'Native_thread' objects can no longer be copied.

Issue #5245
2025-04-10 14:24:11 +02:00
..
2024-06-20 12:54:30 +02:00
2025-04-10 14:18:41 +02:00
2025-04-10 14:24:11 +02:00
2025-04-10 14:24:11 +02:00
2023-03-13 14:32:53 +01:00

This directory contains ports of 3rd-party applications to Genode.

The 'ports' repository follows the patterns of the 'libports' repository.
For instructions about downloading and building 3rd-party applications,
please refer to _libports/README_.


Dependencies from other repositories
------------------------------------

Applications provided by the 'ports' repository typically expect a rich
runtime environment, including shared libraries provided by the 'libports'
repository. Hence, 'ports' depends on 'libports'.