resources.c

Include dependency graph for resources.c:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "8" [label="atom.h" tooltip="atom.h"]
    "30" [label="atomshashtable.h" tooltip="atomshashtable.h"]
    "5" [label="context.h" tooltip="context.h"]
    "26" [label="defaultatoms.h" tooltip="defaultatoms.h"]
    "9" [label="erl_nif.h" tooltip="erl_nif.h"]
    "27" [label="erl_nif_priv.h" tooltip="erl_nif_priv.h"]
    "31" [label="exportedfunction.h" tooltip="exportedfunction.h"]
    "6" [label="globalcontext.h" tooltip="globalcontext.h"]
    "13" [label="list.h" tooltip="list.h"]
    "25" [label="mailbox.h" tooltip="mailbox.h"]
    "19" [label="memory.h" tooltip="memory.h"]
    "29" [label="module.h" tooltip="module.h"]
    "22" [label="refc_binary.h" tooltip="refc_binary.h"]
    "1" [label="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/resources.c" tooltip="/home/winford/github/UncleGrumpy/AtomVM/src/libAtomVM/resources.c" fillcolor="#BFBFBF"]
    "23" [label="resources.h" tooltip="resources.h"]
    "14" [label="smp.h" tooltip="smp.h"]
    "16" [label="synclist.h" tooltip="synclist.h"]
    "28" [label="sys.h" tooltip="sys.h"]
    "18" [label="term.h" tooltip="term.h"]
    "10" [label="term_typedef.h" tooltip="term_typedef.h"]
    "24" [label="timer_list.h" tooltip="timer_list.h"]
    "20" [label="utils.h" tooltip="utils.h"]
    "32" [label="valueshashtable.h" tooltip="valueshashtable.h"]
    "12" [label="inttypes.h" tooltip="inttypes.h"]
    "11" [label="limits.h" tooltip="limits.h"]
    "15" [label="stdatomic.h" tooltip="stdatomic.h"]
    "2" [label="stdbool.h" tooltip="stdbool.h"]
    "21" [label="stddef.h" tooltip="stddef.h"]
    "7" [label="stdint.h" tooltip="stdint.h"]
    "17" [label="stdio.h" tooltip="stdio.h"]
    "3" [label="stdlib.h" tooltip="stdlib.h"]
    "4" [label="string.h" tooltip="string.h"]
    "33" [label="time.h" tooltip="time.h"]
    "8" -> "7" [dir=forward tooltip="include"]
    "8" -> "3" [dir=forward tooltip="include"]
    "30" -> "8" [dir=forward tooltip="include"]
    "5" -> "6" [dir=forward tooltip="include"]
    "5" -> "13" [dir=forward tooltip="include"]
    "5" -> "25" [dir=forward tooltip="include"]
    "5" -> "14" [dir=forward tooltip="include"]
    "5" -> "18" [dir=forward tooltip="include"]
    "5" -> "24" [dir=forward tooltip="include"]
    "26" -> "6" [dir=forward tooltip="include"]
    "9" -> "10" [dir=forward tooltip="include"]
    "27" -> "5" [dir=forward tooltip="include"]
    "27" -> "19" [dir=forward tooltip="include"]
    "31" -> "18" [dir=forward tooltip="include"]
    "6" -> "7" [dir=forward tooltip="include"]
    "6" -> "8" [dir=forward tooltip="include"]
    "6" -> "9" [dir=forward tooltip="include"]
    "6" -> "13" [dir=forward tooltip="include"]
    "6" -> "14" [dir=forward tooltip="include"]
    "6" -> "16" [dir=forward tooltip="include"]
    "6" -> "18" [dir=forward tooltip="include"]
    "6" -> "24" [dir=forward tooltip="include"]
    "25" -> "2" [dir=forward tooltip="include"]
    "25" -> "13" [dir=forward tooltip="include"]
    "25" -> "14" [dir=forward tooltip="include"]
    "25" -> "10" [dir=forward tooltip="include"]
    "25" -> "20" [dir=forward tooltip="include"]
    "19" -> "9" [dir=forward tooltip="include"]
    "19" -> "10" [dir=forward tooltip="include"]
    "19" -> "20" [dir=forward tooltip="include"]
    "19" -> "7" [dir=forward tooltip="include"]
    "19" -> "3" [dir=forward tooltip="include"]
    "29" -> "2" [dir=forward tooltip="include"]
    "29" -> "7" [dir=forward tooltip="include"]
    "29" -> "8" [dir=forward tooltip="include"]
    "29" -> "30" [dir=forward tooltip="include"]
    "29" -> "5" [dir=forward tooltip="include"]
    "29" -> "31" [dir=forward tooltip="include"]
    "29" -> "6" [dir=forward tooltip="include"]
    "29" -> "18" [dir=forward tooltip="include"]
    "29" -> "32" [dir=forward tooltip="include"]
    "22" -> "2" [dir=forward tooltip="include"]
    "22" -> "3" [dir=forward tooltip="include"]
    "22" -> "13" [dir=forward tooltip="include"]
    "22" -> "23" [dir=forward tooltip="include"]
    "22" -> "14" [dir=forward tooltip="include"]
    "1" -> "2" [dir=forward tooltip="include"]
    "1" -> "3" [dir=forward tooltip="include"]
    "1" -> "4" [dir=forward tooltip="include"]
    "1" -> "5" [dir=forward tooltip="include"]
    "1" -> "26" [dir=forward tooltip="include"]
    "1" -> "9" [dir=forward tooltip="include"]
    "1" -> "27" [dir=forward tooltip="include"]
    "1" -> "22" [dir=forward tooltip="include"]
    "1" -> "23" [dir=forward tooltip="include"]
    "1" -> "28" [dir=forward tooltip="include"]
    "1" -> "20" [dir=forward tooltip="include"]
    "23" -> "3" [dir=forward tooltip="include"]
    "23" -> "9" [dir=forward tooltip="include"]
    "23" -> "13" [dir=forward tooltip="include"]
    "14" -> "2" [dir=forward tooltip="include"]
    "14" -> "15" [dir=forward tooltip="include"]
    "16" -> "13" [dir=forward tooltip="include"]
    "16" -> "17" [dir=forward tooltip="include"]
    "16" -> "14" [dir=forward tooltip="include"]
    "28" -> "6" [dir=forward tooltip="include"]
    "28" -> "29" [dir=forward tooltip="include"]
    "28" -> "7" [dir=forward tooltip="include"]
    "28" -> "33" [dir=forward tooltip="include"]
    "18" -> "2" [dir=forward tooltip="include"]
    "18" -> "7" [dir=forward tooltip="include"]
    "18" -> "17" [dir=forward tooltip="include"]
    "18" -> "3" [dir=forward tooltip="include"]
    "18" -> "4" [dir=forward tooltip="include"]
    "18" -> "19" [dir=forward tooltip="include"]
    "18" -> "22" [dir=forward tooltip="include"]
    "18" -> "20" [dir=forward tooltip="include"]
    "18" -> "10" [dir=forward tooltip="include"]
    "10" -> "11" [dir=forward tooltip="include"]
    "10" -> "12" [dir=forward tooltip="include"]
    "10" -> "7" [dir=forward tooltip="include"]
    "24" -> "2" [dir=forward tooltip="include"]
    "24" -> "7" [dir=forward tooltip="include"]
    "24" -> "13" [dir=forward tooltip="include"]
    "20" -> "21" [dir=forward tooltip="include"]
}

Functions

ErlNifResourceType *enif_init_resource_type(ErlNifEnv *env, const char *name, const ErlNifResourceTypeInit *init, ErlNifResourceFlags flags, ErlNifResourceFlags *tried)
void *enif_alloc_resource(ErlNifResourceType *type, unsigned size)
int enif_get_resource(ErlNifEnv *env, ERL_NIF_TERM t, ErlNifResourceType *type, void **objp)
int enif_keep_resource(void *resource)
int enif_release_resource(void *resource)
ERL_NIF_TERM enif_make_resource(ErlNifEnv *env, void *obj)
int enif_select(ErlNifEnv *env, ErlNifEvent event, enum ErlNifSelectFlags mode, void *obj, const ErlNifPid *pid, ERL_NIF_TERM ref)
static void select_event_send_notification(struct SelectEvent *select_event, bool is_write, GlobalContext *global)
bool select_event_notify(ErlNifEvent event, bool is_read, bool is_write, GlobalContext *global)
static inline void select_event_destroy(struct SelectEvent *select_event, GlobalContext *global)
void select_event_count_and_destroy_closed(size_t *read, size_t *write, size_t *either, GlobalContext *global)
int enif_monitor_process(ErlNifEnv *env, void *obj, const ErlNifPid *target_pid, ErlNifMonitor *mon)
int enif_demonitor_process(ErlNifEnv *env, void *obj, const ErlNifMonitor *mon)
void destroy_resource_monitors(struct RefcBinary *resource, GlobalContext *global)
int enif_compare_monitors(const ErlNifMonitor *monitor1, const ErlNifMonitor *monitor2)