Commit Graph

37 Commits (master)

Author SHA1 Message Date
Avril 0d082f5b6f
Added `cow_create_fd(fd, size)`: Create a `cow_t*` over an already existing file descriptor
1 year ago
Avril 646482c555
scrapped
3 years ago
Avril 2c88d329b9
typed cow testing n stuff
3 years ago
Avril 382efd5d43
started TypedCow <cow/typed.hpp>
3 years ago
Avril 30a0176604
added COW_ERR_POISON
3 years ago
Avril 960f18a6e0
c++: CowException for handling errors/poisoned cows
3 years ago
Avril 8f8d738e0e
c++: CowException for handling errors/poisoned cows
3 years ago
Avril a293133f29
basic error skel
3 years ago
Avril a5d5d1b9fd
reset: enum cow_err_kind exists
3 years ago
Avril aeb3f528d4
start recoverable error handle: failed design
3 years ago
Avril fcd0597dc8
fix null deref on moved Cow
3 years ago
Avril a834612e23
correct error handling of ftruncate
3 years ago
Avril ba4fc89dd2
namespaced Area
3 years ago
Avril fe7740100a
better Area controls
3 years ago
Avril d1c3d67326
Added `Area`
3 years ago
Avril f31805d9b2
remove useless comment
3 years ago
Avril 9e5936e3e5
contrived bs example test
3 years ago
Avril aacbccb2d5
contrived bs example test
3 years ago
Avril b628571ed9
slice conversion operators
3 years ago
Avril 003dbf27e8
sanitised namespace and header
3 years ago
Avril 5c8f4b14b4
moving cows is fine
3 years ago
Avril 629d039275
absolute, relative and wrapping slice seperated
3 years ago
Avril 46fad4fd2c
basic slicing reinterpretation
3 years ago
Avril 4432e50ebc
fix slice copying
3 years ago
Avril b16d7c6a87
added slice
3 years ago
Avril 2aaa4247f5
deprecated cow_size_unsafe() and Cow::size_unsafe() as cow_size() and Cow::size() somehow showed better codegen regardless of LTO
3 years ago
Avril 0c5865e00f
offset-based cow_size_unsafe defined, dubiously...
3 years ago
Avril b8699c78db
removed indirection layer in Cow origin by replacing _inner.ptr with a concrete cow_t _inner.cow
3 years ago
Avril dba703e503
better logging and error reporting
3 years ago
Avril 801fd7b3fc
trace debug logging of mem operations
3 years ago
Avril 525c81c150
seems to work?
3 years ago
Avril 4b7180ed5d
C++ wrapper start
3 years ago
Avril 52c80b1b08
disable naming of shm fds unless explicitly set flag COW_NAME_SHM
3 years ago
Avril 32f04d7132
now compiles to static and shared library
3 years ago
Avril 3f4c59fa83
documented the API
3 years ago
Avril a1c8b96abd
API for cow struct done
3 years ago
Avril 8b6ab8f7cb
working cloneable copy-on-write struct demo
3 years ago