<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div style="">
<p dir="auto">I agree that an atomic variable would not fix the issue properly, but having a temporary variable sounds like it might trigger some Time-Of-Check-Time-To-Use types bugs, which might be harder to debug.
I don't think there's a way around having a mutex here is you need to check a flag and do some processing depending on the value of that flag, especially if that means updating some states afterward.</p>
<p dir="auto">That being said, maybe this commit is fine for the time being, as it indeed fixes the observable issue. Another follow up issue could be spawned of out it</p>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/merge_requests/935#note_144628872">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/56f71f00b62587145c7f88ee32340721/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Merge request","url":"https://gitlab.com/gnutls/gnutls/merge_requests/935#note_144628872"}}</script>
</p>
</div>
</body>
</html>