Chromium Embedded Framework (CEF)  131.2.1+ge081753+chromium-131.0.6778.13
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.