Threading

  • Thread starter Thread starter daveL
  • Start date Start date
D

daveL

I have a large Table to load from Sql2005
i want to load it in a Separate Thead
Thread works fine, data gets loaded

My question is
How to raise a Event When its Completed the Thread

Thanks DaveL
 
Hi Dave,

work with synchronization objects, so called
synchronization primitives like these classes :

AutoResetEvent
Monitor
WaitHandle

You will find lots of Examples out in the www
for that...


Regards

Kerem

--
 
You're welcome,...

I mostly use the Sync-Objects from the
System.Threading-Namespace but for
some time i extend or even have written
my own stuff with Win32 API, but the
System.Threading-Namespace is very
satisfactory for most sync-operations
on concurrent thread apps.

I think, the EventWaitHandle will be
suitable for you since it is a pure
thread signaling event class,...give
it a try,...

Regards

Kerem

--
 
thank you
Dave

Kerem Gümrükcü said:
Hi Dave,

work with synchronization objects, so called
synchronization primitives like these classes :

AutoResetEvent
Monitor
WaitHandle

You will find lots of Examples out in the www
for that...


Regards

Kerem

--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Latest Project: http://www.codeplex.com/restarts
Latest Open-Source Projects: http://entwicklung.junetz.de
 

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

Similar Threads

Sleep thread from Main thread 5
dll loading 7
loops and ie 7 4
using application domain does not work as expected 4
loading dll at runtime 5
interact with service 2
Timers 3
Worker Thread 4

Back
Top