Clone
ixen <ixen@copyhandler.com>
committed
on 24 Nov 16
Added IO cancelling when handling pause/cancel operations. Added updating of dst file stats when writer finishes (based on file size at the … Show more
Added IO cancelling when handling pause/cancel operations. Added updating of dst file stats when writer finishes (based on file size at the moment). Fixed hang when reader or writer exits before getting job finished. Fixed silent resume. (CH-307)

Show less

ParallelizeReaderWriter + 3 more
src/libchcore/ErrorCodes.h (+1 -0)
71 71                 eErr_CannotSetDatabaseOptions = 2508,
72 72                 eErr_InvalidSerializer = 2509,
73 73
74 74                 // Filesystem errors (3000+)
75 75                 eErr_FixedDriveWithoutDriveLetter = 3000,
76 76                 eErr_CannotGetFileInfo = 3001,
77 77                 eErr_CannotDeleteFile = 3002,
78 78                 eErr_CannotReadFile = 3003,
79 79                 eErr_CannotWriteFile = 3004,
80 80                 eErr_InvalidOverlappedPosition = 3005,
81 81                 eErr_CannotOpenFile = 3006,
82 82                 eErr_FileNotOpen = 3007,
83 83                 eErr_SeekFailed = 3008,
84 84                 eErr_CannotTruncate = 3009,
85 85                 eErr_CannotSetFileTimes = 3010,
86 86                 eErr_CannotSetFileAttributes = 3011,
87 87                 eErr_CannotCreateDirectory = 3012,
88 88                 eErr_CannotRemoveDirectory = 3013,
89 89                 eErr_CannotFastMove = 3014,
90 90                 eErr_CannotGetFreeSpace = 3015,
  91                 eErr_CancelIoFailed = 3016,
91 92
92 93                 // Task handling errors (4000+)
93 94                 eErr_MissingTaskSerializationPath = 4000,
94 95                 eErr_UndefinedOperation = 4001,
95 96
96 97                 // Memory allocation/deallocation (4500+)
97 98                 eErr_CannotAllocateMemory = 4500,
98 99
99 100                 // database errors (5000+)
100 101                 eErr_SQLiteCannotOpenDatabase = 5000,
101 102                 eErr_SQLiteFinalizeError = 5001,
102 103                 eErr_SQLitePrepareError = 5002,
103 104                 eErr_SQLiteStatementNotPrepared = 5003,
104 105                 eErr_SQLiteStepError = 5004,
105 106                 eErr_SQLiteBindError = 5005,
106 107                 eErr_SQLiteNoRowAvailable = 5006,
107 108                 eErr_SQLiteCannotBeginTransaction = 5007,
108 109                 eErr_SQLiteCannotRollbackTransaction = 5008,
109 110                 eErr_SQLiteCannotCommitTransaction = 5009,
110 111                 eErr_SQLiteReset = 5010,