Boost.AFIO
v2.00 early alpha
|
Implement hole punching once I port that code from AFIO v1.
Decide on some resolution mechanism for sudden process exit.
There is a 1 out of 2^64-2 chance of unique id collision. It would be nice if we actually formally checked that our chosen unique id is actually unique.
It should be possible to auto early out from a memory_map transition by scanning the memory map for any locked items, and if none then to proceed.
fs_mutex_map needs to check if this inode is that at the path after lock is granted, awaiting stat_t port.
memory_map::_hash_entities needs to hash x16, x8 and x4 at a time to encourage auto vectorisation
memory_map::unlock() degrade is racy when single instance being used by multiple threads
afio::path
once that is written, hence the 'fixme' in its title.