Boost logo

Boost :

Subject: Re: [boost] structured exceptions for UNIXs -- the hard way
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2011-09-21 16:32:51

Peter Foelsche <foelsche <at>> writes:

> On UNIXs one does not get around signals.
> They are used for everything.
> E.g. using memory mapped io is impossible without dealing with signals.
> E.g. somebody may edit the file which is mapped into your process
> thereby truncating it and invalidating some part of the memory.
> Or one may be writing into a sparse file via memory mapped io
> and the result of "out of disk space" is also a signal.
> Then there are such sick solutions as setjmp()/longjmp().
> Could they be packed into some class to enable some kind of
> structured exceptions on UNIXs?

boost::execution_monitor deals with these issues. From what I understood this is
exactly what you want.


Boost list run by bdawes at, gregod at, cpdaniel at, john at