Skip to content

Conversation

TheLevti
Copy link
Contributor

@TheLevti TheLevti commented Nov 1, 2018

  • The then method now returns the return value of the locked code callable.
  • The check method now returns false if check fails.
  • Updated tests for double checked locking.

- The `then` method now returns the return value of the locked code
callable.
- The `check` method now returns false if check fails.
- Updated tests for double checked locking.
@willemstuursma
Copy link
Contributor

Thanks! Very nice and well documented.

@willemstuursma willemstuursma merged commit 3c900cf into php-lock:master Nov 1, 2018
@TheLevti TheLevti deleted the feature/improve-double-checked-locking branch November 1, 2018 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants