A lock based implementation of transactional events (http://www.cs.rit.edu/~mtf/research/tx-events/JFP08/jfp08.pdf)