The fork was created to extend the functionality of original project by Qize Huang.
- The "bool get(T* val, unsigned long msec)" method has been added to the "BlockQueue" class to allow setting the waiting time for an element in the queue (rather than infinite waiting, as in the usual "get" method);
- In the "Event" class, the "set" method no longer checks if the flag is already set, because (for unknown reasons) sometimes threads would not wake up the first time the flag was set, and the check would prevent them from being woken up on subsequent calls to this method.
Same as original project.