Multithreading in .NET CF

  • Thread starter =?ISO-8859-1?Q?Jos=E9_Manuel_Nieto?=
  • Start date
?

=?ISO-8859-1?Q?Jos=E9_Manuel_Nieto?=

Hello. I'm writing an implementation for something like the
BackgroundWorker class for the .NET CF that works with an input queue.

I'm not very fluent in multithreading, but I'm doing tests and it
appears to work.

The problem comes when I want to stop the multithread operation. It's
for this that I need an expert to take me a hand with this. I will pay
you if it is necessary, but I need a qualified person here.

I don't know people with the information I need, because either don't
use .NET or because they have not learnt any multithreading basics. I
need your help!



MORE INFO:
I've written a class in C# that processes a queue of items in a separate
thread. When a single item is processed, it raises an event
(ItemProcessed) with the result of the processing as an argument.

I use this event that is intercepted in the main thread to know when an
item is processed and the result of the operation.

The class also uses an event to notify the end of the processing.

With all of this been said, I hope that one of you will be ready to help me.




SPECIFICATIONS:
- I want a class that is able to process an input queue to generate an
otput queue doing all the required operations in a separate thread.
- the processing is needed to be cancellable asynchronously.
- when each item in the queue is processed, it has to raise an event to
notify the processing of the item and the result of it to the main
thread (using a Control.Invoke)
- the main thread will control the execution, using this class, being
able to start and stop the processing.


WHY I WANT THIS?
It's because I'm doing a custom control that loads images in background
when a path is specified. When the control is loading a path and you
specify another path, the control should be able to cancel the
background processing and restart it with the new path.


Please, help me. I'm also available through MSN Messenger at
jmn<-at->superjmn.com

Answer this message if you have the knowledge to abord this problem.
Thank you a lot.
 
G

Guest

Hello. I've tried to contact using this address and I get a Delivery
failure error.

dcs(at)opennetcf.com

I replaced (at) by @, of course.

Alex Yakhnin [MVP] escribió:
 
G

Guest

Thanks Alex.

I've found the problem with the delivery. The address is working, but
they have a SPAM blocking engine that connects to a database (NJBL.ORG)
that has my server IP on its list (??).

I don't know why they have blocked my IP for the incoming mails since my
server is perfectly secured and NOT relaying (neither SPAM-related).

Well, I've finally sent the mail using other mail account hosted on
other server.

Thanks again!
Simply JMN

Alex Yakhnin [MVP] escribió:
 

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