View mode: basic / threaded / horizontal-split · Log in · Help
December 15, 2009
Can -profile switch be used with threaded aplication on D1?
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?
December 15, 2009
Re: Can -profile switch be used with threaded aplication on D1?
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.
December 15, 2009
Re: Can -profile switch be used with threaded aplication on D1?
Bane wrote:
> My mistake. Manual says clearly: Profiling of multithreaded apps is not supported. 

Sorry about that.
December 15, 2009
Re: Can -profile switch be used with threaded aplication on D1?
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 :)
Top | Discussion index | About this forum | D home