# Updating canvas using TApplication

**URL:** <https://root-forum.cern.ch/t/updating-canvas-using-tapplication/14596>\
**Category:** ROOT\
**Created:** [July 18, 2012, 1:39am UTC](https://root-forum.cern.ch/t/updating-canvas-using-tapplication/14596 "2012-07-18T01:39:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [July 18, 2012, 8:40am UTC](https://root-forum.cern.ch/t/updating-canvas-using-tapplication/14596/2 "2012-07-18T08:40:34Z")

</div>

there is some example on the forum. May be see:

> [@Threads with standalone program](https://root-forum.cern.ch/t/threads-with-standalone-program/5642/1):
>
> Hello Rooters I am trying to build a standalone C++ program (that is, that contains a “main”) wich compute some quantities and use ROOT graphics to display results as the computation goes. Unfortunately, I cannot interact with ROOT Canvas while the main program is running. I have attached a small example to show the problem. There is an example in ROOT ( root/test/threads.cxx ) using TThreads to solve this problem but I was wondering if there was not an easier way. Thanks [main.cxx](https://root-forum.cern.ch/uploads/default/original/2X/c/cc561d13f1c0d80057b5245c7026bd908e415b17.cxx) (2.19 KB) …

---

_[View the full topic](https://root-forum.cern.ch/t/updating-canvas-using-tapplication/14596)._
