| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Cast argument to GetFileInformationByHandle, because types do not match.
Output is: expected `winapi::ctypes::c_void`, found `std::ffi::c_void`
|
| | |
|
| | |
|
| |
|
|
|
| |
These are necessarily a bit hand-wavey, but I think they summarize
what we are assuming.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Text from here
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1900#note_2986683
with a few minor fixes.
|
| |
|
|
|
|
|
|
|
|
|
| |
These two modules are key to the implementation of the locking
protocols.
We must define the locking protocol in terms of underlying OS
semantics (since Unix and Windows have different fs concepts and
different concurrency semantics) and therefore, although we are
sharing some code between the implementations, these modules are what
defines the two protocols.
|
| | |
|
|
|
This is not yet "correct", since it will rely on
https://github.com/brunoczim/fslock/pull/15
(Conceivably, it might be better to make the `fslock` crate rm-safe.)
|