NetSurf
Data Fields
jsheap Struct Reference

dukky javascript heap More...

Collaboration diagram for jsheap:
[legend]

Data Fields

duk_contextctx
 duktape base context More...
 
duk_uarridx_t next_thread
 monotonic thread counter More...
 
bool pending_destroy
 Whether this heap is pending destruction. More...
 
unsigned int live_threads
 number of live threads More...
 
uint64_t exec_start_time
 

Detailed Description

dukky javascript heap

Definition at line 59 of file dukky.c.

Field Documentation

◆ ctx

duk_context* jsheap::ctx

duktape base context

Definition at line 60 of file dukky.c.

Referenced by dukky_destroyheap(), dukky_destroythread(), js_newheap(), and js_newthread().

◆ exec_start_time

uint64_t jsheap::exec_start_time

Definition at line 64 of file dukky.c.

Referenced by dukky_check_timeout(), and dukky_reset_start_time().

◆ live_threads

unsigned int jsheap::live_threads

number of live threads

Definition at line 63 of file dukky.c.

Referenced by dukky_destroyheap(), dukky_destroythread(), js_destroyheap(), and js_newthread().

◆ next_thread

duk_uarridx_t jsheap::next_thread

monotonic thread counter

Definition at line 61 of file dukky.c.

Referenced by js_newthread().

◆ pending_destroy

bool jsheap::pending_destroy

Whether this heap is pending destruction.

Definition at line 62 of file dukky.c.

Referenced by dukky_destroyheap(), dukky_destroythread(), js_destroyheap(), and js_newthread().


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