nwaku/library
Ivan Folgueira Bande 72f90663cd
refactor(cbindings): Thread-safe communication between the main thread and the Waku Thread (#1978)
* Thread-safe comms between main thread & Waku Thread - ChannelSPSCSingle.
* Renaming procs from 'new' to 'createShared'. They use the shared allocator.
* peer_manager_request: no need to use ptr WakuNode.
* waku_thread: moving the 'waitFor' to upper layer.
* waku_thread: `poll()` -> `waitFor sleepAsync(1)` to avoid risk of blocking.
* libwaku: thread-safe "sub-objects" in an inter-thread requests.
  When two threads send data each other, that data cannot contain any
  GC'ed type (string, seq, ref, closures) at any level.
* Allocating the 'configJson' in main thread and deallocating in Waku Thread.
2023-09-18 09:21:50 +02:00
..
events chore: remove references to v2 (#1898) 2023-08-09 18:11:50 +01:00
waku_thread refactor(cbindings): Thread-safe communication between the main thread and the Waku Thread (#1978) 2023-09-18 09:21:50 +02:00
alloc.nim refactor(cbindings): Thread-safe communication between the main thread and the Waku Thread (#1978) 2023-09-18 09:21:50 +02:00
libwaku.h Adding example on how to integrate a Waku node in NodeJs (#1751) 2023-08-02 10:45:15 +02:00
libwaku.nim refactor(cbindings): Thread-safe communication between the main thread and the Waku Thread (#1978) 2023-09-18 09:21:50 +02:00