quality: remove trailing whitespaces

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium: fix bug when an actor receives a message after dying

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium_actor: add memory fence when changing assigned worker

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium_worker: use YES and NO for easier reading

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

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium_worker: include the constants header

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
performance: add messaging rate at different levels

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium_node: use static keyword in C file

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium: use a macro in upper case for fences

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
core: use inline keyword for memory fences

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium: use static keyword in worker pool

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium: use the static keyword in actor and worker_pool

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium: use static functions in worker

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
performance: use static keyword in latency_probe

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium engine: remove some debugging statements

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
performance: add a script for latency_probe with 4 nodes

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
core: fix regression introduced in 5211ad35e03

inline functions in headers must be static so that every translation
unit using them have their own copy.

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium: improve the code that manages message metadata

Additional information is added to any message in order to track things such
as source actor, destination actor, and action specifier. The code that increase
the value for the number of bytes in the buffer of a message was confusing.

This patch improves how the metadata is managed: typically, the metadata is
added by workers only and is removed by workers only. The node layer does not
need to know about the content of the message (except for the dispatch code path).

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium: actor messages with 0 bytes must have a NULL buffer

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium: don't use binomial tree send with action ACTION_ASK_TO_STOP

Otherwise, messages will be lost.

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