Commit e1808855 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent c22117a8
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
#ifndef _NXD_WCFS_MISC_H_ #ifndef _NXD_WCFS_MISC_H_
#define _NXD_WCFS_MISC_H_ #define _NXD_WCFS_MISC_H_
#include <stddef.h>
#include <string> #include <string>
using std::string; using std::string;
......
...@@ -131,6 +131,7 @@ cdef void on_sigbus(int sig, siginfo_t *si, void *_uc) nogil: ...@@ -131,6 +131,7 @@ cdef void on_sigbus(int sig, siginfo_t *si, void *_uc) nogil:
import traceback import traceback
traceback.print_stack() traceback.print_stack()
writeerr("-> SIGBUS\n"); writeerr("-> SIGBUS\n");
# FIXME nothing is printed if pytest stdout/stderr capture is on (no -s given)
abort() abort()
# writeerr writes msg to stderr without depending on stdio buffering and locking. # writeerr writes msg to stderr without depending on stdio buffering and locking.
......
...@@ -365,6 +365,7 @@ void Conn::_pin1(PinReq *req) { ...@@ -365,6 +365,7 @@ void Conn::_pin1(PinReq *req) {
// XXX Conn::mmap // XXX Conn::mmap
// resync resyncs connection and its mappings onto different database view. // resync resyncs connection and its mappings onto different database view.
#if 0
error Conn::resync(Tid at) { error Conn::resync(Tid at) {
Conn &wconn = *this; Conn &wconn = *this;
// XXX err ctx // XXX err ctx
...@@ -405,6 +406,7 @@ error Conn::resync(Tid at) { ...@@ -405,6 +406,7 @@ error Conn::resync(Tid at) {
wconn.at = at; wconn.at = at;
} }
#endif
// _remmapblk remmaps mapping memory for file[blk] to be viewing database as of @at state. // _remmapblk remmaps mapping memory for file[blk] to be viewing database as of @at state.
// //
......
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