Re: [Mono-dev] Profiler: ThreadStart/ThreadEnd

2016-05-29 Thread Alex Rønne Petersen
Yes, this is guaranteed. We make the same assumption in Mono's own log
profiler to do cleanup.

Regards,
Alex

On Sun, May 29, 2016 at 3:28 PM, Greg Young  wrote:
> From running and testing it seems that Start/End are called on the
> thread in question. Can I assume this to be the case in the future?
> Basically I have some thread clean up work I would like to do in
> ThreadEnd and would prefer to just be able to do it here. Are there
> some situations where ThreadStart/ThreadEnd might be called on from a
> thread that is not the target thread?
> --
> Studying for the Turing test
> ___
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Profiler: ThreadStart/ThreadEnd

2016-05-29 Thread Greg Young
>From running and testing it seems that Start/End are called on the
thread in question. Can I assume this to be the case in the future?
Basically I have some thread clean up work I would like to do in
ThreadEnd and would prefer to just be able to do it here. Are there
some situations where ThreadStart/ThreadEnd might be called on from a
thread that is not the target thread?
-- 
Studying for the Turing test
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list