Exemplo n.º 1
0
  // 'this' is actually deleted from the thread where it's on the stack
  virtual void Process()
  {
    std::shared_ptr<CEvent> e_done(m_done);

    CThread::Process();
    (*e_done).Set();
  }
Exemplo n.º 2
0
  // 'this' is actually deleted from the thread where it's on the stack
  void Process() override
  {
    std::shared_ptr<CEvent> e_done(m_done);

    CThread::Process();
    (*e_done).Set();
  }
Exemplo n.º 3
0
  bool Wait(unsigned int displaytime, bool allowCancel)
  {
    std::shared_ptr<CEvent> e_done(m_done);

    Create();
    return CGUIDialogBusy::WaitOnEvent(*e_done, displaytime, allowCancel);
  }
Exemplo n.º 4
0
  bool Wait()
  {
    std::shared_ptr<CEvent> e_done(m_done);

    Create();
    return CGUIDialogBusy::WaitOnEvent(*e_done);
  }