Hi all,

My (Gtk#) GUI thread is non-responsive and I am hoping to find a
profiler or something else that will help me figure out why that is.
I am creating a worker thread (a.k.a. long running process) as
described below.  Note that I set the priority to Lowest for my worker
but it seems to take over the processor anyway.

Are there any obvious tips I can try to follow?
Is there a profiler that will run on Linux?  I run Mono on OpenSuse
10.2 and all the C# profilers seem to be written for Windows.
I tried using the profiler that is part of Mono but I don't know how
to read (analyse) the output.  Is there any help?

Evaluator eval = new Evaluator();
ThreadStart ts = new ThreadStart(eval.Run);
Thread evalHost = new Thread(ts);
evalHost.IsBackground = true;
evalHost.Priority = ThreadPriority.Lowest;
evalHost.Name = "Foo";
evalHost.Start();
System.Threading.Interlocked.Increment(ref workersLeft);


Thanks,

Vlad
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to