genode/repos/base/src/lib
Norman Feske f95bfddc09 base: simplify handling of session-creation errors
This patch decouples the error handling of the quota transfers
and the actual session creation. In the previous version, an error in
the 'initiate_request' phase would leave the local scope via an
exception without disarming the transfer guard objects. This way,
the guard destructors would attempt the returning of session quota in
addition to the explicit call of '_revert_quota_and_destroy' as done in
the error handling of the 'initiate_request' operation.

In the presence of a session-creation error in the 'initiate_request'
phase, session quota would eventually be returned twice. This patch
removes the intertwined error handling of both phases in a way that the
guards of the first phase (quota transfer) are no longer present in the
second phase (initiate_request).
2017-06-29 11:59:52 +02:00
..
base base: simplify handling of session-creation errors 2017-06-29 11:59:52 +02:00
cxx Check Registered base class provides virtual destructor 2017-03-24 16:20:04 +01:00
ldso timed_semaphore: fix deprecated warning 2017-05-31 13:16:19 +02:00
startup Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
target.mk Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00