Thread naming and killing by name

  • Thread starter Yechezkal Gutfreund
  • Start date
Y

Yechezkal Gutfreund

Is there a way to have a thread wrapper allow us to give names to Threads in
the CF?
We really need to be able to trace performance by thread as well as handle
Exceptions from threads. (and show the thread name from the exception).


We are also looking for something that is the equivalent to the unix KILL
PID command.
We are using a CF windows application to spawn a CF console applications.
However, killing and
removing from memory is problematic.

We are able to use the OpenNetCF to spawn the app (but this has a slight
glitch, in that the
hourglass icon appears on the screen and does not dissapear till one changes
the current visible
applicaiton. It is purely a visual problem. But I thought I would tell the
members here about it.
However, the larger problem is that we can only close but not KILL the
console app (and it will hold
onto a socket until it actually dies).
 
C

Chris Tacke, eMVP

OpenNETCF.Threading.ThreadEx has a Name property, but it's usefulness is
completely untested (I added it for compatibility, but didn't put much
thought into how it would be used).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top