We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unit Quick.Threads;
function TThreadedQueueCS.PopItem(var AQueueSize: Integer; var AItem: T): TWaitResult;
before the line AItem := FQueue[FQueueOffset];
need to add array size check if (FQueueOffset >= Length(FQueue)) then Exit;
otherwise an error occurs Exception class $C0000005 with message 'c0000005 ACCESS_VIOLATION'. string: AItem := FQueue[FQueueOffset];
watch Length(FQueue) = 0; watch FQueueOffset = 60;
The text was updated successfully, but these errors were encountered:
Which version are you using?
Sorry, something went wrong.
No branches or pull requests
unit Quick.Threads;
function TThreadedQueueCS.PopItem(var AQueueSize: Integer; var AItem: T): TWaitResult;
before the line
AItem := FQueue[FQueueOffset];
need to add array size check
if (FQueueOffset >= Length(FQueue)) then Exit;
otherwise an error occurs
Exception class $C0000005 with message 'c0000005 ACCESS_VIOLATION'.
string: AItem := FQueue[FQueueOffset];
watch Length(FQueue) = 0;
watch FQueueOffset = 60;
The text was updated successfully, but these errors were encountered: