Click here to Skip to main content
15,891,513 members
Home / Discussions / C#
   

C#

 
AnswerRe: keep one sqlconnection alive Pin
N a v a n e e t h8-Apr-10 16:21
N a v a n e e t h8-Apr-10 16:21 
Questionmake a default printer Pin
Jassim Rahma8-Apr-10 13:30
Jassim Rahma8-Apr-10 13:30 
AnswerRe: make a default printer Pin
loyal ginger9-Apr-10 7:02
loyal ginger9-Apr-10 7:02 
QuestionText overlay on webcam streaming videos PinPopular
bdb388658-Apr-10 12:46
bdb388658-Apr-10 12:46 
QuestionInput type ="image" in c# Pin
tedyboy98-Apr-10 11:15
tedyboy98-Apr-10 11:15 
AnswerRe: Input type ="image" in c# Pin
Arun Jacob8-Apr-10 19:07
Arun Jacob8-Apr-10 19:07 
GeneralRe: Input type ="image" in c# Pin
tedyboy98-Apr-10 21:07
tedyboy98-Apr-10 21:07 
QuestionManualResetEvent set()/waitOne() Pin
igalep1328-Apr-10 9:17
igalep1328-Apr-10 9:17 
Hey...

I need to implement 2 methods asynchronous methods, one for reading data, and one for writing...

the ManualResetEvent initialization is with false ManualResetEvent mre = new ManualResetEvent(false);
if i understand correct, it means that it'll be block the accessing thread till the set() will be executed.
what will happen if one thread will execute set(), and after it, other thread will execute WaitOne() before Reset was executed, it will be blocked, or the thread will continue running


I hope i was clear enough Smile | :)

Thanks
AnswerRe: ManualResetEvent set()/waitOne() Pin
Luc Pattyn8-Apr-10 9:26
sitebuilderLuc Pattyn8-Apr-10 9:26 
AnswerRe: ManualResetEvent set()/waitOne() Pin
supercat98-Apr-10 9:44
supercat98-Apr-10 9:44 
GeneralRe: ManualResetEvent set()/waitOne() Pin
igalep1328-Apr-10 10:09
igalep1328-Apr-10 10:09 
AnswerRe: ManualResetEvent set()/waitOne() Pin
igalep1328-Apr-10 10:52
igalep1328-Apr-10 10:52 
GeneralRe: ManualResetEvent set()/waitOne() Pin
igalep1329-Apr-10 0:37
igalep1329-Apr-10 0:37 
GeneralRe: ManualResetEvent set()/waitOne() Pin
supercat910-Apr-10 13:21
supercat910-Apr-10 13:21 
QuestionLegal issue - Using controls from Code Project in commercial applications Pin
ekareem8-Apr-10 8:11
ekareem8-Apr-10 8:11 
AnswerRe: Legal issue - Using controls from Code Project in commercial applications Pin
EliottA8-Apr-10 8:45
EliottA8-Apr-10 8:45 
AnswerRe: Legal issue - Using controls from Code Project in commercial applications Pin
Not Active8-Apr-10 9:46
mentorNot Active8-Apr-10 9:46 
Questionusing a delayed sign assembly Pin
prasadbuddhika8-Apr-10 6:37
prasadbuddhika8-Apr-10 6:37 
Questionwrite a program like windows magnify Pin
itresearches8-Apr-10 5:09
itresearches8-Apr-10 5:09 
AnswerRe: write a program like windows magnify Pin
EliottA8-Apr-10 8:50
EliottA8-Apr-10 8:50 
QuestionAccessing to a control created at runtime Pin
aleroot8-Apr-10 5:05
aleroot8-Apr-10 5:05 
AnswerRe: Accessing to a control created at runtime Pin
OriginalGriff8-Apr-10 5:28
mveOriginalGriff8-Apr-10 5:28 
GeneralRe: Accessing to a control created at runtime Pin
aleroot8-Apr-10 5:40
aleroot8-Apr-10 5:40 
GeneralRe: Accessing to a control created at runtime Pin
aleroot8-Apr-10 9:42
aleroot8-Apr-10 9:42 
QuestionPassing database login info to Crystal report - problem going to production Pin
jamesc698-Apr-10 4:54
jamesc698-Apr-10 4:54 

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.