kqueue/kevent and directories (Was: Equivalent of POLLERR for kqueue.)

2005-12-13 Thread Vaclav Haisman
On Tue, 13 Dec 2005, Vaclav Haisman wrote: Is there equivalent of POLLERR for kqueue()? Or is EV_EOF the only thing? I would like to use kqueue/kevent for sockets but error condition signaling is not clear to me from manpage. Vaclav Haisman Another unclear area for me is how do changes in

Equivalent of POLLERR for kqueue.

2005-12-13 Thread Vaclav Haisman
Is there equivalent of POLLERR for kqueue()? Or is EV_EOF the only thing? I would like to use kqueue/kevent for sockets but error condition signaling is not clear to me from manpage. Vaclav Haisman ___ freebsd-hackers@freebsd.org mailing list http

Re: journaling fs and large mailbox format

2005-09-30 Thread Vaclav Haisman
On Thu, 29 Sep 2005, Doug Barton wrote: Alin-Adrian Anton wrote: XFS fits incredibly well with Maildir, however this I did not test practically I am curious as to what the defaults are for frag, inode, and block sizes on XFS, and whether that is one of the factors that make it work well

Re: C++ code in a kernel module?

2003-09-09 Thread Vaclav Haisman
which the standard library may not exist, and program startup may not necessarily be at "main". The most obvious example is an OS kernel. This is equivalent to -fno-hosted. Vaclav Haisman ___ [EMAIL PROTECTE

Re: Raising SIGSEGV in SIGSEGV handler makes FreeBSD loop

2003-02-19 Thread Vaclav Haisman
standing of things I post here the test I used. Vaclav Haisman #include #include #include int f (int * x); void handler (int, siginfo_t * info, ucontext_t * uap) { std::cerr << "SIGSEGV has been caught" << std::endl; struct sigaction mysig; mysig.sa_handler = S

Re: Raising SIGSEGV in SIGSEGV handler makes FreeBSD loop

2003-02-19 Thread Vaclav Haisman
> man 2 abort > > -- Terry logout ~/tmp>man 2 abort No entry for abort in section 2 of the manual Besides, this doesn't explain anything. I see I haven't asked any question in my previous post. So, why does FreeBSD behave different? Vaclav Haisman To Unsubscrib

Raising SIGSEGV in SIGSEGV handler makes FreeBSD loop

2003-02-19 Thread Vaclav Haisman
GSEGV handler. If this touches undefined behaviour then I think the behaviour of the other two systems is saner. Vaclav Haisman #include #include int f (int * x); void handler (int, siginfo_t * info, ucontext_t * uap) { std::cerr << "SIGSEGV caught, dumping core" << std::end