Thread: Added synchronized_value operator() to synchronize around a function call.