Chromium Embedded Framework (CEF)  130.1.2+g48f3ef6+chromium-130.0.6723.44
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.