Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: source/common/cmutex.h

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/common/cmemory.h ('k') | source/common/common.vcxproj » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 **********************************************************************
3 * Copyright (C) 2013, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 *
7 * File cmutex.h
8 *
9 * Minimal plain C declarations for ICU mutex functions.
10 * This header provides a transition path for plain C files that
11 * formerly included mutex.h, which is now a C++ only header.
12 *
13 * This header should not be used for new code.
14 *
15 * C++ files should include umutex.h, not this header.
16 *
17 */
18
19 #ifndef __CMUTEX_H__
20 #define __CMUTEX_H__
21
22 typedef struct UMutex UMutex;
23
24
25 /* Lock a mutex.
26 * @param mutex The given mutex to be locked. Pass NULL to specify
27 * the global ICU mutex. Recursive locks are an error
28 * and may cause a deadlock on some platforms.
29 */
30 U_INTERNAL void U_EXPORT2 umtx_lock(UMutex* mutex);
31
32 /* Unlock a mutex.
33 * @param mutex The given mutex to be unlocked. Pass NULL to specify
34 * the global ICU mutex.
35 */
36 U_INTERNAL void U_EXPORT2 umtx_unlock (UMutex* mutex);
37
38 #endif
39
OLDNEW
« no previous file with comments | « source/common/cmemory.h ('k') | source/common/common.vcxproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698