Serene Runtime 1.0.0-dev
C runtime for the Serene programming language
Loading...
Searching...
No Matches
srn_graph_t Struct Reference

#include <core.h>

Collaboration diagram for srn_graph_t:
[legend]

Data Fields

hmap_t * namespaces
 A hashmap that maps namespace names to their value.
srn_fiber_mutex_t * ns_map_lock

Detailed Description

Definition at line 215 of file core.h.

Field Documentation

◆ namespaces

hmap_t* srn_graph_t::namespaces

A hashmap that maps namespace names to their value.

When operating on this map, e.g. setting the new hmap after inserting a namespace which will lead to a new hmap_t make sure to lock ns_map_lock.

Definition at line 221 of file core.h.

◆ ns_map_lock

srn_fiber_mutex_t* srn_graph_t::ns_map_lock

Definition at line 222 of file core.h.


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