From 464970bcdeeae96a6adf518ece002abd93498025 Mon Sep 17 00:00:00 2001 From: "Jonathan M. Henson" Date: Mon, 6 Nov 2023 11:48:57 -0800 Subject: [PATCH] Update source/windows/cross_process_lock.c use proper scoping identifier for windows mutex Co-authored-by: Michael Graeb --- source/windows/cross_process_lock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/windows/cross_process_lock.c b/source/windows/cross_process_lock.c index 25aba1155..4a6abfb57 100644 --- a/source/windows/cross_process_lock.c +++ b/source/windows/cross_process_lock.c @@ -35,8 +35,8 @@ struct aws_cross_process_lock *aws_cross_process_lock_try_acquire( struct aws_cross_process_lock *instance_lock = NULL; - /* Local prefix, per the docs, specifies session scope rather than global to the user or system. */ - struct aws_byte_cursor path_prefix = aws_byte_cursor_from_c_str("Local/aws_crt_cross_process_lock/"); + /* "Local\" prefix, per the docs, specifies user session scope (rather than "Global\" to the system). */ + struct aws_byte_cursor path_prefix = aws_byte_cursor_from_c_str("Local\\aws_crt_cross_process_lock/"); struct aws_byte_buf nonce_buf; aws_byte_buf_init_copy_from_cursor(&nonce_buf, allocator, path_prefix); aws_byte_buf_append_dynamic(&nonce_buf, &instance_nonce);