Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
platf::publish::deinit_t Class Reference

RAII helper that runs shutdown cleanup when destroyed. More...

Inheritance diagram for platf::publish::deinit_t:
Collaboration diagram for platf::publish::deinit_t:

Public Member Functions

 deinit_t (std::jthread poll_thread)
 Explicitly store the Avahi polling thread for shutdown on destruction.
 ~deinit_t () override
 Destroy the Avahi publisher deinitializer.

Public Attributes

std::jthread poll_thread
 Poll thread.

Detailed Description

RAII helper that runs shutdown cleanup when destroyed.

Constructor & Destructor Documentation

◆ deinit_t()

platf::publish::deinit_t::deinit_t ( std::jthread poll_thread)
inlineexplicit

Explicitly store the Avahi polling thread for shutdown on destruction.

Parameters
poll_threadPoll thread.

◆ ~deinit_t()

platf::publish::deinit_t::~deinit_t ( )
inlineoverridevirtual

Destroy the Avahi publisher deinitializer.

Reimplemented from platf::deinit_t.


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