thorium_worker: add function to send with multiplexer

Link: https://github.com/GeneAssembly/biosal/issues/791
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium_worker: add function to send message to other nodes

Link: https://github.com/GeneAssembly/biosal/issues/791
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
scripts: don't search for action specifiers defined with a BASE

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium: rename function to thorium_worker_send_local_delivery

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium_worker: put message directly in outbound message ring

Link: https://github.com/GeneAssembly/biosal/issues/791
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium_worker: push message directly in ring when possible

Link: https://github.com/GeneAssembly/biosal/issues/791
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
ring: always use a memory fence before incrementing the tail

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium: use rand_r() inside worker whenever possible

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium: fix regression added in 89300f4ee regarding random numbers

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>