title: Signal handling in C++ (using instance variable inside method)
body: <p>I'm not very skilled in C++, so I find this tricky.</p>
  
  <p>I have a class which looks pretty similar to this one : <a href="https://stackoverflow.com/questions/343219/is-it-possible-to-use-signal-inside-a-c-class">Is it possible to use signal inside a C++ class?</a>., but inside the signal handling method I have to work with an instance variable.</p>
  
  <p>The first thing I tried was to set the variable static, but it didn't help.
  What should i do?
  Thanks Hynek</p>