nwaku/library/waku_thread
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
..
inter_thread_communication refactor(cbindings): Thread-safe communication between the main thread and the Waku Thread (#1978) 2023-09-18 09:21:50 +02:00
config.nim chore: remove references to v2 (#1898) 2023-08-09 18:11:50 +01:00
waku_thread.nim refactor(cbindings): Thread-safe communication between the main thread and the Waku Thread (#1978) 2023-09-18 09:21:50 +02:00