Fix error message.
This commit is contained in:
parent
a63907b9f7
commit
44b43e8415
|
@ -221,7 +221,7 @@ log("start task");
|
|||
{
|
||||
auto f = &m_files[file].read;
|
||||
if (!safeCAS(f.status, ThreadedFileStatus.idle, ThreadedFileStatus.initiated))
|
||||
assert(false, "Concurrent file writes are not allowed.");
|
||||
assert(false, "Concurrent file reads are not allowed.");
|
||||
assert(f.callback is null, "Concurrent file reads are not allowed.");
|
||||
f.callback = on_read_finish;
|
||||
m_activeReads.insert(file);
|
||||
|
|
Loading…
Reference in a new issue