ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
named_registry_t Struct Reference

Global registry with uthash and rwlock. More...

Data Fields

named_entry_t * entries
 
rwlock_t entries_lock
 
lifecycle_t lifecycle
 

Detailed Description

Global registry with uthash and rwlock.

Uses uthash for O(1) lookups protected by rwlock. Rwlock is held ONLY during HASH_ADD/HASH_FIND operations. No mutations occur while holding the lock - avoids deadlocks.

Definition at line 77 of file debug/named.c.

Field Documentation

◆ entries

◆ entries_lock

◆ lifecycle


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