ReXGlue SDK
Loading...
Searching...
No Matches
rex::kernel::ThreadPin Class Reference

#include <rex/kernel/thread_registry.h>

Inheritance diagram for rex::kernel::ThreadPin:
[legend]

Public Member Functions

 ThreadPin (KernelThread *thread) noexcept
 ThreadPin (ThreadPin &&other) noexcept
ThreadPin & operator= (ThreadPin &&other) noexcept
 operator bool () const noexcept
KernelThread * operator-> () const noexcept
KernelThread & operator* () const noexcept
KernelThread * GetThread () const noexcept
void Reset () noexcept

Additional Inherited Members

Protected Member Functions inherited from rex::MoveOnly
 MoveOnly (MoveOnly &&)=default
MoveOnly & operator= (MoveOnly &&)=default
 MoveOnly (const MoveOnly &)=delete
MoveOnly & operator= (const MoveOnly &)=delete

Detailed Description

A transient pin on a KernelThread. Never stored. Move only.

Constructor & Destructor Documentation

◆ ThreadPin()

rex::kernel::ThreadPin::ThreadPin ( KernelThread * thread)
inlineexplicitnoexcept

Takes a pin already taken on a KernelThread.


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