blob: 691ed6b5852f60696d6a791c34aba1c59d8db5a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#ifndef XMPCommonErrorCodes_I_h__
#define XMPCommonErrorCodes_I_h__ 1
// =================================================================================================
// Copyright Adobe
// Copyright 2015 Adobe
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe license agreement accompanying it. If you have received this file from a source other
// than Adobe, then your use, modification, or distribution of it requires the prior written permission
// of Adobe.
// =================================================================================================
#include "XMPCommon/XMPCommonDefines_I.h"
#include "XMPCommon/XMPCommonErrorCodes.h"
namespace AdobeXMPCommon_Int {
//!
//! Indicates various types of errors related to mutex.
//!
typedef enum {
//! Represents no error in operation on mutex.
kMTECNone = 0,
//! Represents an error while interacting with mutex due to memory crunch.
kMTECMemoryCrunch = 1,
//! Represents an error while interacting with mutex due to resource crunch other than memory.
kMTECResourceCrunch = 2,
//! Represents an error while interacting with mutex due to permission issues.
kMTECPermission = 3,
//! Represents an error related to lock operation called on already locked mutex.
kMTECAlreadyLocked = 4,
//! Represents an error because of operation being called on already un-initialized mutex.
kMTECUninitialized = 5,
// Add new errors here
//! Maximum value this enum can hold, should be treated as invalid value.
kMTECMaxValue = 0xFFFFFFFF
} eMultiThreadingErrorCode;
}
#endif // XMPCommonErrorCodes_I_h__
|