NetSurf
Data Fields
jsthread Struct Reference

dukky javascript thread More...

Collaboration diagram for jsthread:
[legend]

Data Fields

bool pending_destroy
 Whether this thread is pending destruction. More...
 
unsigned int in_use
 The number of times this thread is in use. More...
 
jsheapheap
 The heap this thread belongs to. More...
 
duk_contextctx
 The duktape thread context. More...
 
duk_uarridx_t thread_idx
 The thread number. More...
 

Detailed Description

dukky javascript thread

Definition at line 70 of file dukky.c.

Field Documentation

◆ ctx

duk_context* jsthread::ctx

The duktape thread context.

Definition at line 74 of file dukky.c.

Referenced by js_newthread().

◆ heap

jsheap* jsthread::heap

The heap this thread belongs to.

Definition at line 73 of file dukky.c.

Referenced by dukky_destroythread(), js_closethread(), and js_newthread().

◆ in_use

unsigned int jsthread::in_use

The number of times this thread is in use.

Definition at line 72 of file dukky.c.

Referenced by dukky_destroythread(), dukky_enter_thread(), dukky_leave_thread(), and js_destroythread().

◆ pending_destroy

bool jsthread::pending_destroy

Whether this thread is pending destruction.

Definition at line 71 of file dukky.c.

Referenced by dukky_destroythread(), dukky_leave_thread(), js_destroythread(), and js_exec().

◆ thread_idx

duk_uarridx_t jsthread::thread_idx

The thread number.

Definition at line 75 of file dukky.c.

Referenced by dukky_destroythread(), and js_newthread().


The documentation for this struct was generated from the following file: