a0threadsTotal...

Accounting on the number of threads.


Syntax

extern int athreadsTotal,
athreadsBlockedComm,
athreadsBlockedLock,

Description

These three variables, readable by the user but updated only by Athapascan, reflect the current state of a node, regarding the number of (user) threads running (or waiting) on that node.

BUG: the update of these variables in Athapascan is not protected, so their values might be erroneous, due to race conditions.