Chromium Embedded Framework (CEF)  114.2.1+gd70a0a8+chromium-114.0.5735.45
base::PlatformThread Namespace Reference

A namespace for low-level thread functions. More...

Functions

PlatformThreadId CurrentId ()
 Gets the current thread id, which may be useful for logging purposes. More...
 
PlatformThreadRef CurrentRef ()
 Gets the current thread reference, which can be used to check if we're on the right thread quickly. More...
 

Detailed Description

A namespace for low-level thread functions.

Chromium uses a class with static methods but CEF uses an actual namespace to avoid linker problems with the sandbox libaries on Windows.

Function Documentation

◆ CurrentId()

PlatformThreadId base::PlatformThread::CurrentId ( )
inline

Gets the current thread id, which may be useful for logging purposes.

◆ CurrentRef()

PlatformThreadRef base::PlatformThread::CurrentRef ( )
inline

Gets the current thread reference, which can be used to check if we're on the right thread quickly.