|
ADS
Algorithms and Data Structures
|
the families of channels among \( p \) workers: tryPush( from , to , m ) pushes a span of messages and returns how many, drain( me , f ) calls \( f \) on the messages of the inbox of me and returns how many, size() is \( p \) More...
#include <ADS/parallel/Channels.h>
the families of channels among \( p \) workers: tryPush( from , to , m ) pushes a span of messages and returns how many, drain( me , f ) calls \( f \) on the messages of the inbox of me and returns how many, size() is \( p \)