Click here to Skip to main content
15,904,288 members
Home / Discussions / C#
   

C#

 
GeneralRe: Setup and deployment Pin
Spacix One24-Apr-08 13:23
Spacix One24-Apr-08 13:23 
GeneralRe: Setup and deployment Pin
jharker198725-Apr-08 2:26
jharker198725-Apr-08 2:26 
GeneralRe: Setup and deployment Pin
mav.northwind25-Apr-08 22:20
mav.northwind25-Apr-08 22:20 
GeneralListview interaction scheme question Pin
Spacix One24-Apr-08 12:55
Spacix One24-Apr-08 12:55 
QuestionNeed help with multi threaded modular application Pin
darthBug24-Apr-08 9:51
darthBug24-Apr-08 9:51 
GeneralRe: Need help with multi threaded modular application Pin
Luc Pattyn24-Apr-08 11:06
sitebuilderLuc Pattyn24-Apr-08 11:06 
GeneralRe: Need help with multi threaded modular application Pin
carbon_golem24-Apr-08 13:32
carbon_golem24-Apr-08 13:32 
GeneralRe: Need help with multi threaded modular application Pin
darthBug25-Apr-08 1:07
darthBug25-Apr-08 1:07 
Thanks guys, sound like really good ideas to try.

Scott, i read about the AutoResetEvent and ManualResetEvent but i don't understand what it does and how to use it in my case. Could you please give an example?

How does the event thing works in this case:
The host creates a new thread for the StartWork() method of the module class.
At the end of the method it fires an event which is handled by the host.

Now in this case as i understand the event handler is run in the module thread, am i correct?

What i thought about is to go with the collection idea first and add an event handler to the OnRemoved event (assuming there is one, otherwise i can build my own collection class). If the OnRemoved event is handled in the parent thread then this is perfect but otherwise it's a problem.

What do you think?

darthBug

Join the dark side of the code

GeneralRe: Need help with multi threaded modular application Pin
carbon_golem25-Apr-08 3:30
carbon_golem25-Apr-08 3:30 
QuestionEnumeration Location Pin
snorkie24-Apr-08 9:42
professionalsnorkie24-Apr-08 9:42 
GeneralRe: Enumeration Location Pin
Broken Bokken24-Apr-08 9:47
Broken Bokken24-Apr-08 9:47 
GeneralRe: Enumeration Location Pin
darthBug24-Apr-08 10:01
darthBug24-Apr-08 10:01 
GeneralRe: Enumeration Location Pin
snorkie24-Apr-08 10:08
professionalsnorkie24-Apr-08 10:08 
GeneralRe: Enumeration Location Pin
carbon_golem24-Apr-08 10:53
carbon_golem24-Apr-08 10:53 
GeneralAdvice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
MumbleB24-Apr-08 7:06
MumbleB24-Apr-08 7:06 
GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
KaptinKrunch24-Apr-08 7:16
KaptinKrunch24-Apr-08 7:16 
GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
MumbleB24-Apr-08 7:26
MumbleB24-Apr-08 7:26 
GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
carbon_golem24-Apr-08 7:17
carbon_golem24-Apr-08 7:17 
GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
KaptinKrunch24-Apr-08 7:34
KaptinKrunch24-Apr-08 7:34 
GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
MumbleB24-Apr-08 7:40
MumbleB24-Apr-08 7:40 
GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
Ed.Poore24-Apr-08 8:45
Ed.Poore24-Apr-08 8:45 
GeneralRe: Advice required on Matching Input: Code copied from ARL(Advanced Reporting Language) Pin
MumbleB24-Apr-08 18:46
MumbleB24-Apr-08 18:46 
Generalproblems parsing [modified] Pin
stephan_00724-Apr-08 6:46
stephan_00724-Apr-08 6:46 
GeneralRe: problems parsing Pin
KaptinKrunch24-Apr-08 7:31
KaptinKrunch24-Apr-08 7:31 
GeneralRe: problems parsing Pin
Anthony Mushrow24-Apr-08 12:18
professionalAnthony Mushrow24-Apr-08 12:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.