Skip to content

Commit

Permalink
Update include/aws/common/cross_process_lock.h
Browse files Browse the repository at this point in the history
update documentation.

Co-authored-by: Michael Graeb <[email protected]>
  • Loading branch information
JonathanHenson and graebm authored Nov 6, 2023
1 parent 464970b commit e435dc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/aws/common/cross_process_lock.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ AWS_EXTERN_C_BEGIN
/**
* Attempts to acquire a system-wide (not per process or per user) lock scoped by instance_nonce.
* For any given unique nonce, a lock will be returned by the first caller. Subsequent calls will
* return NULL until the either the process owning the lock exits or the program owning the lock
* return NULL and raise AWS_ERROR_MUTEX_CALLER_NOT_OWNER
* until the either the process owning the lock exits or the program owning the lock
* calls aws_cross_process_lock_release() explicitly.
*
* If the process exits before the lock is released, the kernel will unlock it for the next consumer.
Expand Down

0 comments on commit e435dc3

Please sign in to comment.