Commit 1dd22794 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent eb1e1798
......@@ -442,3 +442,11 @@ static error _mmap_zero_into_ro(void *addr, size_t size) {
static error mmap_into_ro(void *addr, size_t size, const os::File &f, off_t offset) {
return mm::map_into(addr, size, PROT_READ, MAP_SHARED, f, offset);
}
_Conn::_Conn() {}
_Conn::~_Conn() {}
void _Conn::decref() {
if (__decref())
delete this;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment