Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gossip ¶
type Gossip func(uint16)
Gossip is a function that initializes gossip with the given PID.
type WorkerPool ¶
type WorkerPool interface { Start() Stop() }
WorkerPool represents a pool of parallel workers.
func NewPerPidPool ¶
func NewPerPidPool(nProc uint16, multiple int, work func(pid uint16)) WorkerPool
NewPerPidPool creates a pool of workers doing per-pid work for the given nProc.
func NewPool ¶
func NewPool(size int, work func()) WorkerPool
NewPool creates a pool of workers with the given size, all doing the same work.
Directories ¶
Path | Synopsis |
---|---|
Package fetch implements a mechanism of fetching specific units with known hashes.
|
Package fetch implements a mechanism of fetching specific units with known hashes. |
Package gossip implements a protocol for synchronizing dags through gossiping.
|
Package gossip implements a protocol for synchronizing dags through gossiping. |
Package handshake implements protocols for identifying the peer.
|
Package handshake implements protocols for identifying the peer. |
Package multicast implements a multicasting service to disseminate units created by us.
|
Package multicast implements a multicasting service to disseminate units created by us. |
Package rmc implements reliable multicast protocol for disseminating units.
|
Package rmc implements reliable multicast protocol for disseminating units. |
Click to show internal directories.
Click to hide internal directories.