Keep track of how many threads are waiting

Created by  Eelco Dolstra  on July 10, 2015
DWFTK56EAGNPSKWWWY5MFPATQWO5PZGHF5D53JOEJ2DG5NLLYRBQC
Change contents