Added synchronized block macro. Added Lock and Condition interfaces.