LeviLamina
Loading...
Searching...
No Matches
PlatformThread.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace webrtc { struct ThreadAttributes; }
8// clang-format on
9
10namespace webrtc {
11
12class PlatformThread {
13public:
14 // member variables
15 // NOLINTBEGIN
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
22 PlatformThread& operator=(PlatformThread const&);
23 PlatformThread(PlatformThread const&);
24 PlatformThread();
25
26public:
27 // member functions
28 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // static functions
34 // NOLINTBEGIN
35 MCNAPI static ::webrtc::PlatformThread SpawnDetached(
36 ::std::function<void()> thread_function,
37 ::std::string_view name,
39 );
40
41 MCNAPI static ::webrtc::PlatformThread SpawnJoinable(
42 ::std::function<void()> thread_function,
43 ::std::string_view name,
45 );
46
47 MCNAPI static ::webrtc::PlatformThread SpawnThread(
48 ::std::function<void()> thread_function,
49 ::std::string_view name,
51 bool joinable
52 );
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCNAPI void $dtor();
59 // NOLINTEND
60};
61
62} // namespace webrtc
static MCAPI ::webrtc::PlatformThread SpawnJoinable(::std::function< void()> thread_function, ::std::string_view name, ::webrtc::ThreadAttributes attributes)
static MCAPI ::webrtc::PlatformThread SpawnThread(::std::function< void()> thread_function, ::std::string_view name, ::webrtc::ThreadAttributes attributes, bool joinable)
static MCAPI ::webrtc::PlatformThread SpawnDetached(::std::function< void()> thread_function, ::std::string_view name, ::webrtc::ThreadAttributes attributes)
Definition Alias.h:14
Definition ThreadAttributes.h:7