Click here to Skip to main content
15,905,686 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello Friends
Can any one define and differentiate Threads and Events for me.

Both are making confusion. :-/


Thanks in Advance
@ Naveen Kumar Dushila
Posted

Have you tried Google [^]ever.
 
Share this answer
 
Threads[^] are independent processes that can run at the same time in the same address space. Events[^] are external stimuli that cause a program to react on demand (a knock on the door is an event).
 
Share this answer
 
Comments
nk.dushila 18-Aug-11 5:35am    
Thank u
Actually i was known to the Definitions of these both but They were confusing me.
That Picture cleared all my confusions
:D
Guyverthree 18-Aug-11 8:21am    
Please note that a Thread is not a process. A Processes contain threads which all run in the same memory space.
Richard MacCutchan 18-Aug-11 8:53am    
Well that all depends on whose terminology you are using. On one system I worked on a thread was called an activity. I would be interested to see your definition of a thread.

nk.dushila 19-Aug-11 2:09am    
okay

Got It.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900