Skip to content

Commit

Permalink
Update documentation regarding #6
Browse files Browse the repository at this point in the history
  • Loading branch information
willemstuursma committed Jun 11, 2018
1 parent 147e85b commit ff25973
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -118,6 +118,9 @@ $mutex->synchronized(function () use ($bankAccount, $amount) {
});
```

Timeouts are supported as an optional second argument. This uses the pcntl extension if
possible or busy waiting if not.

#### MemcachedMutex

The **MemcachedMutex**
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Expand Up @@ -44,6 +44,9 @@
"predis/predis": "~1.0",
"squizlabs/php_codesniffer": "^3.2"
},
"suggest": {
"ext-pnctl": "Enables locking with flock without busy waiting in CLI scripts"
},
"archive": {
"exclude": ["/tests"]
},
Expand Down

0 comments on commit ff25973

Please sign in to comment.