Ignore:
Timestamp:
Jan 30, 2015, 1:54:37 PM (11 years ago)
Author:
Frederik Heber <heber@…>
Parents:
419fa2
Message:

tempcommit: Trying to make run_thread relaunchable whenever new Action is queued and not running.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/ActionQueue.hpp

    r419fa2 r6bbdfb  
    257257  bool isActionQueueDone() const;
    258258
     259  /** Sets the \a CurrentAction such that it indicates that no further Actions
     260   * need to be called.
     261   *
     262   */
     263  void setActionQueueDone();
     264
    259265  /** Helper to check whether there are more actions in tempqueue for
    260266   * run_thread.
     
    333339  ActionStatusList StatusList;
    334340
    335   // set run_thread to end such that others are initialized first (especially mutexes)
    336 #ifdef HAVE_ACTION_THREAD
    337   //!> internal flag to tell whether run_thread is still running
    338   bool run_thread_running;
     341#ifdef HAVE_ACTION_THREAD
     342  //!> internal mutex to show when run_thread is running
     343  mutable boost::mutex mtx_run_thread_running;
    339344
    340345  //!> internal thread to call Actions
Note: See TracChangeset for help on using the changeset viewer.