PLCnext API Documentation 25.0.2.69
ThreadSettings.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8namespace Arp { namespace System { namespace Commons { namespace Threading
9{
10
13{
14public: // construction/destruction
15 ARP_DEPRECATED("Use constructor with parameters instead. Supply at least a thread name!")
16 ThreadSettings(void);
17 ThreadSettings(const String& name, size_t priority = 0, size_t cpuAffinity = 0, size_t stackSize = 0);
18
19public: // Fields
20
23
25 size_t Priority;
26
31
33 size_t StackSize;
34};
35
36}}}} // end of namespace Arp::System::Commons::Threading
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
Container class for adaptable thread settings.
Definition: ThreadSettings.hpp:13
String Name
Name for the thread.
Definition: ThreadSettings.hpp:22
size_t CpuAffinity
CPU affinity mask determine which CPU is allowed to run the thread.
Definition: ThreadSettings.hpp:30
ThreadSettings(void)
Deprecated! Constructs an ThreadSettings instance.
Definition: ThreadSettings.cpp:15
size_t Priority
Priority of thread.
Definition: ThreadSettings.hpp:25
size_t StackSize
Bytes-size of requested stack for new thread.
Definition: ThreadSettings.hpp:33
Root namespace for the PLCnext API
class ARP_DEPRECATED("Use Arp::Enum<T> instead.") EnumStrings
Deprecated! The class implements an adapter for enums to define the string literals of the enum entri...
Definition: EnumStrings.hxx:38