PLCnext API Documentation 25.0.2.69
Public Member Functions | Public Attributes | List of all members
Arp::System::Commons::Threading::ThreadSettings Class Reference

Container class for adaptable thread settings. More...

#include <ThreadSettings.hpp>

Public Member Functions

 ThreadSettings (void)
 Deprecated! Constructs an ThreadSettings instance. More...
 
 ThreadSettings (const String &name, size_t priority=0, size_t cpuAffinity=0, size_t stackSize=0)
 Constructs an ThreadSettings instance.
 

Public Attributes

String Name
 Name for the thread.
 
size_t Priority
 Priority of thread.
 
size_t CpuAffinity
 CPU affinity mask determine which CPU is allowed to run the thread. More...
 
size_t StackSize
 Bytes-size of requested stack for new thread.
 

Detailed Description

Container class for adaptable thread settings.

Constructor & Destructor Documentation

◆ ThreadSettings()

Arp::System::Commons::Threading::ThreadSettings::ThreadSettings ( void  )

Deprecated! Constructs an ThreadSettings instance.

Deprecated:
Use constructor with parameters instead. Supply at least a thread name!

Member Data Documentation

◆ CpuAffinity

size_t Arp::System::Commons::Threading::ThreadSettings::CpuAffinity

CPU affinity mask determine which CPU is allowed to run the thread.

See Arp::System::Commons::Threading::Thread::SetCpuAffinity for more information.


The documentation for this class was generated from the following files: