X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/4388f060552cc537e71e957d32f35e9d75a61233..1546d4af2ed1219a41ef4170bf188f2ab91442e6:/icuSources/common/servnotf.cpp diff --git a/icuSources/common/servnotf.cpp b/icuSources/common/servnotf.cpp index feecbc31..dc77c7b8 100644 --- a/icuSources/common/servnotf.cpp +++ b/icuSources/common/servnotf.cpp @@ -1,6 +1,8 @@ +// © 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /** ******************************************************************************* - * Copyright (C) 2001-2011, International Business Machines Corporation and * + * Copyright (C) 2001-2012, International Business Machines Corporation and * * others. All Rights Reserved. * ******************************************************************************* */ @@ -19,7 +21,7 @@ U_NAMESPACE_BEGIN EventListener::~EventListener() {} UOBJECT_DEFINE_RTTI_IMPLEMENTATION(EventListener) -static UMTX notifyLock; +static UMutex notifyLock = U_MUTEX_INITIALIZER; ICUNotifier::ICUNotifier(void) : listeners(NULL)