Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/intern/session_uuid.c')
-rw-r--r--source/blender/blenlib/intern/session_uuid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/session_uuid.c b/source/blender/blenlib/intern/session_uuid.c
index a5307684059..8ed96f02149 100644
--- a/source/blender/blenlib/intern/session_uuid.c
+++ b/source/blender/blenlib/intern/session_uuid.c
@@ -40,10 +40,10 @@ SessionUUID BLI_session_uuid_generate(void)
if (!BLI_session_uuid_is_generated(&result)) {
/* Happens when the UUID overflows.
*
- * Just request the UUID once again, hoping that there are no a lot of high-priority threads
+ * Just request the UUID once again, hoping that there are not a lot of high-priority threads
* which will overflow the counter once again between the previous call and this one.
*
- * NOTE: It is possible to have collissions after such overflow. */
+ * NOTE: It is possible to have collisions after such overflow. */
result.uuid_ = atomic_add_and_fetch_uint64(&global_session_uuid.uuid_, 1);
}
return result;