Expand description
§NTSync
for Wine the Ntsync driver was created to improve perfomance of Applications running with Wine. This is an implementation of the ioctls proviced by the device.
it is an implementation based on NTSync Docs
Structs§
- Event
- An Event is an Type that can send Signals to other parts of the code. They can be automatically or manually reset. With manually reset events all waiting threads are worken up, but with automatically reset Event only one wakes up and can do the work.
- Event
Status - Represents the Status of the Event at the moment of the Query.
- Mutex
mutex - An Mutex similar to std::sync::Mutex, but it can’t store Data.
- Mutex
Status mutex - Mutex Status is the Representation of the Status of the mutex at point of the query
- NtSync
- NtSync is an abstration over the Kernel API that is realised via ioctls.
- NtSync
Flags - This helps Managing the Flags for waiting on Events.
- OwnerId
- An OwnerId is just an identifier for an part of the code which needs protections against parallel Access.
- Semaphore
semaphore - An Semaphore. When the counter reaches 0 Threads will wait until one thread release an specific amount of resources.
- Semaphore
Status semaphore - SemaphoreStatus is the Status of the Semaphore at the time the read method was called.
Enums§
- Error
- An Enum that is used to return different Errors from the Kernel. Since there is not much Information returned its mostly an simple enum.
- Event
Sources - An Wrapper around the different Syncronisation Primitives of this crate
Traits§
- NTSync
Objects - NTSyncObjects is an Trait that combines all objects of the API.