[gtkmm] Blocking Tasks


I would appreciate if someone could help
me in this problem:

I got a program that works with a high
priority recursive task, set up this way:

  static int control() { ... }

  Object::recurse() {
   if( control() ) recurse();

  Object *obj=new Object;

At some point I call that function and
nothing happens until it finishes:

  obj->recurse();  // now gtkmm is blocked

How can I assembly a circuit like:

  static int control() {
   if( gtkmm_received_some_event )
   ...   // and then do like before

I'm with gtkmm-1.2.10.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]