mirror of
https://github.com/mmueller41/mxtasking.git
synced 2026-01-21 12:42:57 +01:00
Make Genode::Thread's attribute accesible in child classes.
This commit is contained in:
@@ -57,7 +57,7 @@ private:
|
|||||||
* every local epoch is greater than the epoch
|
* every local epoch is greater than the epoch
|
||||||
* when the resource is deleted.
|
* when the resource is deleted.
|
||||||
*/
|
*/
|
||||||
class EpochManager : Genode::Thread
|
class EpochManager : public Genode::Thread
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
EpochManager(const std::uint16_t count_channels, dynamic::Allocator &allocator,
|
EpochManager(const std::uint16_t count_channels, dynamic::Allocator &allocator,
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ namespace mx::tasking {
|
|||||||
/**
|
/**
|
||||||
* The worker executes tasks from his own channel, until the "running" flag is false.
|
* The worker executes tasks from his own channel, until the "running" flag is false.
|
||||||
*/
|
*/
|
||||||
class alignas(64) Worker : Genode::Thread
|
class alignas(64) Worker : public Genode::Thread
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Worker(std::uint16_t id, std::uint16_t target_core_id, std::uint16_t target_numa_node_id,
|
Worker(std::uint16_t id, std::uint16_t target_core_id, std::uint16_t target_numa_node_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user