LeechCraft
0.6.70-19214-g121e5318a7
Modular cross-platform feature rich live environment.
Toggle main menu visibility
Loading...
Searching...
No Matches
inparallel.cpp
Go to the documentation of this file.
1
/**********************************************************************
2
* LeechCraft - modular cross-platform feature rich internet client.
3
* Copyright (C) 2006-2014 Georg Rudoy
4
*
5
* Distributed under the Boost Software License, Version 1.0.
6
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7
**********************************************************************/
8
9
#include "
inparallel.h
"
10
#include <QtDebug>
11
#include <
util/sll/exceptions.h
>
12
#include "
context.h
"
13
14
namespace
LC::Util::detail
15
{
16
void
HandleSubsequentException
()
17
{
18
try
19
{
20
throw
;
21
}
22
catch
(
const
ContextDeadException
&)
23
{
24
// "normal" child coro death, nothing to do here
25
}
26
catch
(...)
27
{
28
qWarning () <<
"dropping a subsequent exception:"
<<
DescribeCurrentException
();
29
}
30
}
31
}
LC::Util::ContextDeadException
Definition
corocontext.h:23
context.h
exceptions.h
inparallel.h
LC::Util::detail
Definition
fancytrayiconfreedesktop.cpp:24
LC::Util::detail::HandleSubsequentException
void HandleSubsequentException()
Definition
inparallel.cpp:16
LC::Util::DescribeCurrentException
QString DescribeCurrentException()
Describes the exception currently being handled.
Definition
exceptions.cpp:21
src
util
threads
coro
inparallel.cpp
Generated by
1.18.0