www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Can -profile switch be used with threaded aplication on D1?

reply Bane <branimir.milosavljevic gmail.com> writes:
When I try to profile D1 program with more than 1 thread it sometimes hangs on
program exit (after static destructors are called). With more threads profiler
won't work at all. Is it known problem?
Dec 15 2009
parent reply Bane <branimir.milosavljevic gmail.com> writes:
Bane Wrote:

 When I try to profile D1 program with more than 1 thread it sometimes hangs on
program exit (after static destructors are called). With more threads profiler
won't work at all. Is it known problem?

My mistake. Manual says clearly: Profiling of multithreaded apps is not supported.
Dec 15 2009
parent reply Walter Bright <newshound1 digitalmars.com> writes:
Bane wrote:
 My mistake. Manual says clearly: Profiling of multithreaded apps is not
supported. 

Sorry about that.
Dec 15 2009
parent Bane <branimir.milosavljevic gmail.com> writes:
Walter Bright Wrote:

 Bane wrote:
 My mistake. Manual says clearly: Profiling of multithreaded apps is not
supported. 

Sorry about that.

Don't be. Thank you for a great language :)
Dec 15 2009