Chromium Embedded Framework (CEF)
128.4.2+g5c235a2+chromium-128.0.6613.18
|
Used for thread checking and debugging. More...
#include "include/base/cef_platform_thread.h"
Public Types | |
typedef cef_platform_thread_handle_t | RefType |
Public Member Functions | |
PlatformThreadRef () | |
PlatformThreadRef (RefType id) | |
bool | operator== (PlatformThreadRef other) const |
bool | is_null () const |
Used for thread checking and debugging.
Meant to be as fast as possible. These are produced by PlatformThread::CurrentRef(), and used to later check if we are on the same thread or not by using ==. These are safe to copy between threads, but can't be copied to another process as they have no meaning there. Also, the internal identifier can be re-used after a thread dies, so a PlatformThreadRef cannot be reliably used to distinguish a new thread from an old, dead thread.
typedef cef_platform_thread_handle_t base::PlatformThreadRef::RefType |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |