mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-1630 Move UMTX from utypes.h to umutex.h,
and remove unneeded references to mutex.h (so we can find multithreading issues more easily) X-SVN-Rev: 7478
This commit is contained in:
parent
2c4beaea3b
commit
0836738cc1
7 changed files with 6 additions and 13 deletions
|
@ -20,9 +20,11 @@
|
|||
|
||||
#include "unicode/utypes.h"
|
||||
|
||||
#ifndef XP_CPLUSPLUS
|
||||
typedef void * Mutex;
|
||||
#endif
|
||||
/**
|
||||
* Mutex data type.
|
||||
* @internal
|
||||
*/
|
||||
typedef void *UMTX;
|
||||
|
||||
/* APP_NO_THREADS is an old symbol. We'll honour it if present. */
|
||||
#ifdef APP_NO_THREADS
|
||||
|
|
|
@ -504,12 +504,6 @@ typedef enum UErrorCode UErrorCode;
|
|||
U_CAPI const char * U_EXPORT2
|
||||
u_errorName(UErrorCode code);
|
||||
|
||||
/**
|
||||
* Mutex data type.
|
||||
* @internal
|
||||
*/
|
||||
typedef void *UMTX;
|
||||
|
||||
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include "cstring.h"
|
||||
#include "cmemory.h"
|
||||
#include "unicode/ustring.h"
|
||||
#include "mutex.h"
|
||||
#include "unicode/unistr.h"
|
||||
#include "unicode/unicode.h"
|
||||
#include "unicode/ucnv.h"
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include "unicode/resbund.h"
|
||||
#include "unicode/datefmt.h"
|
||||
#include "unicode/smpdtfmt.h"
|
||||
#include "mutex.h"
|
||||
|
||||
// *****************************************************************************
|
||||
// class DateFormat
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#include "unicode/dcfmtsym.h"
|
||||
#include "unicode/unicode.h"
|
||||
#include "unicode/ustring.h"
|
||||
#include "mutex.h"
|
||||
#include <float.h>
|
||||
|
||||
// *****************************************************************************
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "ucol_bld.h"
|
||||
#include "ucln_in.h"
|
||||
#include "unicode/uchar.h"
|
||||
#include "umutex.h"
|
||||
|
||||
|
||||
static const InverseTableHeader* invUCA = NULL;
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include "ucol_wgt.h"
|
||||
|
||||
#include "uhash.h"
|
||||
#include "umutex.h"
|
||||
#include "cpputils.h"
|
||||
|
||||
#include "unicode/ustring.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue