resources.hļ
Include dependency graph for resources.h:
This graph shows which files directly or indirectly include resources.h:
Defines
-
TYPEDEF_GLOBALCONTEXT
Typedefs
-
typedef struct GlobalContext GlobalContext
Functions
-
static inline void resource_type_destroy(struct ResourceType *resource_type)ļ
-
bool select_event_notify(ErlNifEvent event, bool is_read, bool is_write, GlobalContext *global)
-
void select_event_count_and_destroy_closed(size_t *read, size_t *write, size_t *either, GlobalContext *global)
-
void destroy_resource_monitors(struct RefcBinary *resource, GlobalContext *global)
-
struct ResourceType
Collaboration diagram for ResourceType:
Public Members
-
struct ListHead head
-
const char *name
-
GlobalContext *global
-
struct ListHead monitors
-
ErlNifResourceDtor *dtor
-
ErlNifResourceStop *stop
-
ErlNifResourceDown *down
-
struct ListHead head
-
struct SelectEvent
Collaboration diagram for SelectEvent:
Public Members
-
struct ListHead head
-
ErlNifEvent event
-
struct RefcBinary *resource
-
bool read
-
bool write
-
bool undefined_ref
-
bool close
-
int32_t local_pid
-
uint64_t ref_ticks
-
struct ListHead head