As mentioned above.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
// (3) manages deleted connections
// (4) TODO reconnect on connection errors
// (5) TODO cleanup timedout callbacks
- void run() {
+ void run() noexcept {
amqp_frame_t frame;
while (!stopped) {
}
}
-void RGWDataChangesLog::renew_run() {
+void RGWDataChangesLog::renew_run() noexcept {
for (;;) {
dout(2) << "RGWDataChangesLog::ChangesRenewThread: start" << dendl;
int r = renew_entries();
ceph::mutex renew_lock = ceph::make_mutex("ChangesRenewThread::lock");
ceph::condition_variable renew_cond;
- void renew_run();
+ void renew_run() noexcept;
void renew_stop();
std::thread renew_thread;
// (3) manages deleted connections
// (4) TODO reconnect on connection errors
// (5) TODO cleanup timedout callbacks
- void run() {
+ void run() noexcept {
while (!stopped) {
// publish all messages in the queue
{
http.start();
// must spawn the CR thread after start
- thread = std::thread([this] { coroutines.run(push_all.get()); });
+ thread = std::thread([this]() noexcept { coroutines.run(push_all.get()); });
}
~CRThread()
{