2024-02-24 12:01:31 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< title > cef4delphi: uCEFThread: Class TCefThreadRef</ title >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2026-03-30 11:40:06 +02:00
< meta name = "generator" content = "PasDoc 1.0.0" >
2024-02-24 12:01:31 +01:00
< meta http-equiv = "content-type" content = "text/html; charset=utf-8" >
2026-03-19 13:17:28 +01:00
< link rel = "StyleSheet" type = "text/css" href = "bootstrap.min.css" >
2024-02-24 12:01:31 +01:00
< link rel = "StyleSheet" type = "text/css" href = "pasdoc.css" >
</ head >
< body >
< span id = "TCefThreadRef" ></ span >< h1 class = "cio" > Class TCefThreadRef</ h1 >
< div class = "sections" >
2026-03-19 13:17:28 +01:00
< div class = "one_section" >< a class = "section" href = "#PasDoc-Description" > Description</ a ></ div >< div class = "one_section" >< a class = "section" href = "#PasDoc-Hierarchy" > Hierarchy</ a ></ div >< div class = "one_section" >< a class = "section" href = "#PasDoc-Methods" > Methods</ a ></ div ></ div >
2024-02-24 12:01:31 +01:00
< span id = "PasDoc-Description" ></ span >< h2 class = "unit" > Unit</ h2 >
< p class = "unitlink" >
< a href = "uCEFThread.html" > uCEFThread</ a ></ p >
< h2 class = "declaration" > Declaration</ h2 >
< p class = "declaration" >
< code > type TCefThreadRef = class(< a class = "normal" href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html" > TCefBaseRefCountedRef</ a > , < a class = "normal" href = "uCEFInterfaces.ICefThread.html" > ICefThread</ a > )</ code ></ p >
< h2 class = "description" > Description</ h2 >
< p class = "nodescription" > This item has no description.</ p >< span id = "PasDoc-Hierarchy" ></ span >< h2 class = "hierarchy" > Hierarchy</ h2 >
< ul class = "hierarchy" >< li class = "ancestor" > TInterfacedObject</ li >
< li class = "ancestor" >< a class = "normal" href = "uCEFBaseRefCounted.TCefBaseRefCountedRef.html" > TCefBaseRefCountedRef</ a ></ li >
< li class = "thisitem" > TCefThreadRef</ li ></ ul >< h2 class = "overview" > Overview</ h2 >
< span id = "PasDoc-Methods" ></ span >< h3 class = "summary" > Methods</ h3 >
< table class = "summary wide_list" >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > function < strong >< a href = "uCEFThread.TCefThreadRef.html#GetTaskRunner" > GetTaskRunner</ a ></ strong > : < a href = "uCEFInterfaces.ICefTaskRunner.html" > ICefTaskRunner</ a > ;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > function < strong >< a href = "uCEFThread.TCefThreadRef.html#GetPlatformThreadID" > GetPlatformThreadID</ a ></ strong > : < a href = "uCEFTypes.html#TCefPlatformThreadId" > TCefPlatformThreadId</ a > ;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > procedure < strong >< a href = "uCEFThread.TCefThreadRef.html#Stop" > Stop</ a ></ strong > ;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > function < strong >< a href = "uCEFThread.TCefThreadRef.html#IsRunning" > IsRunning</ a ></ strong > : boolean;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > class function < strong >< a href = "uCEFThread.TCefThreadRef.html#UnWrap-Pointer-" > UnWrap</ a ></ strong > (data: Pointer): < a href = "uCEFInterfaces.ICefThread.html" > ICefThread</ a > ;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > class function < strong >< a href = "uCEFThread.TCefThreadRef.html#New-ustring-TCefThreadPriority-TCefMessageLoopType-integer-TCefCOMInitMode-" > New</ a ></ strong > (const display_name: < a href = "uCEFTypes.html#ustring" > ustring</ a > ; priority: < a href = "uCEFTypes.html#TCefThreadPriority" > TCefThreadPriority</ a > ; message_loop_type: < a href = "uCEFTypes.html#TCefMessageLoopType" > TCefMessageLoopType</ a > ; stoppable: integer; com_init_mode: < a href = "uCEFTypes.html#TCefCOMInitMode" > TCefCOMInitMode</ a > ): < a href = "uCEFInterfaces.ICefThread.html" > ICefThread</ a > ;</ code ></ td >
</ tr >
</ table >
< h2 class = "description" > Description</ h2 >
< h3 class = "detail" > Methods</ h3 >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "GetTaskRunner" ></ span >< code > function < strong > GetTaskRunner</ strong > : < a href = "uCEFInterfaces.ICefTaskRunner.html" > ICefTaskRunner</ a > ;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefThread.html#GetTaskRunner" > ICefThread.GetTaskRunner</ a > .</ p >< p >
Returns the ICefTaskRunner that will execute code on this thread's message loop. This function is safe to call from any thread. </ p >
</ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "GetPlatformThreadID" ></ span >< code > function < strong > GetPlatformThreadID</ strong > : < a href = "uCEFTypes.html#TCefPlatformThreadId" > TCefPlatformThreadId</ a > ;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefThread.html#GetPlatformThreadID" > ICefThread.GetPlatformThreadID</ a > .</ p >< p >
Returns the platform thread ID. It will return the same value after stop() is called. This function is safe to call from any thread. </ p >
</ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "Stop" ></ span >< code > procedure < strong > Stop</ strong > ;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefThread.html#Stop" > ICefThread.Stop</ a > .</ p >< p >
Stop and join the thread. This function must be called from the same thread that called cef_thread_create(). Do not call this function if cef_thread_create() was called with a |stoppable| value of false (0). </ p >
</ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "IsRunning" ></ span >< code > function < strong > IsRunning</ strong > : boolean;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefThread.html#IsRunning" > ICefThread.IsRunning</ a > .</ p >< p >
Returns true (1) if the thread is currently running. This function must be called from the same thread that called cef_thread_create(). </ p >
</ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "UnWrap-Pointer-" ></ span >< code > class function < strong > UnWrap</ strong > (data: Pointer): < a href = "uCEFInterfaces.ICefThread.html" > ICefThread</ a > ;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "nodescription" > This item has no description.</ p ></ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "New-ustring-TCefThreadPriority-TCefMessageLoopType-integer-TCefCOMInitMode-" ></ span >< code > class function < strong > New</ strong > (const display_name: < a href = "uCEFTypes.html#ustring" > ustring</ a > ; priority: < a href = "uCEFTypes.html#TCefThreadPriority" > TCefThreadPriority</ a > ; message_loop_type: < a href = "uCEFTypes.html#TCefMessageLoopType" > TCefMessageLoopType</ a > ; stoppable: integer; com_init_mode: < a href = "uCEFTypes.html#TCefCOMInitMode" > TCefCOMInitMode</ a > ): < a href = "uCEFInterfaces.ICefThread.html" > ICefThread</ a > ;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "nodescription" > This item has no description.</ p ></ td ></ tr >
</ table >
2026-03-30 11:40:06 +02:00
< hr >< span class = "appinfo" >< em > Generated by < a href = "https://pasdoc.github.io/" > PasDoc 1.0.0</ a > . </ em >
2024-02-24 12:01:31 +01:00
</ span >
</ body ></ html >