File: thread_cancellation_exception.h

package info (click to toggle)
kmc 3.2.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,716 kB
  • sloc: cpp: 38,308; python: 664; makefile: 216; perl: 179; sh: 34
file content (8 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#pragma once

//In case of critical error in one thread
//the information of critical situation is send to other threads
//which are throwing the exception of below class
//so it is just a information that thread is finishing because of critical situation in other thread
//the CExceptionAwareThread will ignore this exception, but the real std::thread will end
class CThreadCancellationException { };