Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Commit093479b
committed
minor#13757 Be more specific about flock releasing locks automatically (mariusbuescher)
This PR was merged into the 3.4 branch.Discussion----------Be more specific about flock releasing locks automaticallyWhile working on some Unit-Tests for my application I found out about a problem regarding the `Flock` store. Unfortunately it is a problem coming from the way PHP works internally. Resource handles/file locks are released as soon as the variable holding the handle is going out of scope. This makes it easy for developers when directly working with files, but in this case, it was stopping me.To make this restriction more clear, I just changed that line in the documentation.Commits-------bd431e0 [lock] Be more specific about flock releasing locks1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
0 commit comments
Comments
(0)