mn_foreign_task.hpp File Reference
#include "mn_config.hpp"
#include "mn_task.hpp"

Go to the source code of this file.

Classes

class  mn::ext::foreign_task
 

Namespaces

 mn
 
 mn::ext
 

Macros

#define FT_IDLE_TASK   foreign_task::get_idle_task()
 
#define FT_IDLE_TASK_ON(CPUID)   foreign_task::get_idle_task(CPUID)
 

Typedefs

using mn::ext::foreign_task_t = foreign_task
 

Detailed Description

This file is part of the Mini Thread Library (https://github.com/RoseLeBlood/MiniThread ).

Author
Copyright (c) 2021 Amber-Sophia Schroeck
License
The Mini Thread Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 3, or (at your option) any later version.

The Mini Thread Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the Mini Thread Library; if not, see https://www.gnu.org/licenses/.

Macro Definition Documentation

◆ FT_IDLE_TASK

#define FT_IDLE_TASK   foreign_task::get_idle_task()

Get the idle task for the current CPU.

◆ FT_IDLE_TASK_ON

#define FT_IDLE_TASK_ON (   CPUID)    foreign_task::get_idle_task(CPUID)

Get the idle task for the given CPU.