Re: Thread synchronization problem
From: Ivan (no_email_at_today.com)
Date: 07/08/04
- Next message: Ken Kolda: "Re: why can I overload the != operator??"
- Previous message: Paul C.: "Compiling (?) for C-Sharp using Mono ... problem w/ InitializeComponent"
- In reply to: Stoitcho Goutsev \(100\) [C# MVP]: "Re: Thread synchronization problem"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 8 Jul 2004 23:03:03 +0200
Thx. your comments are very helpful.
Best regards
Ivan
"Stoitcho Goutsev (100) [C# MVP]" <100@100.com> wrote in message
news:eDeIooSZEHA.2456@TK2MSFTNGP10.phx.gbl...
> > Thx. for help. I think that there is similar problem when thread ends:
it
> > sets the flag that is not busy (last statement in thread), but thread
will
> > be actualy terminated few milliseconds after.
>
> I don't see a problem there. The thread will end some time after, but
since
> it wont do any work you don't have to worry. Anyways next time you'll
create
> a new one
>
> > achieve same functionality like in example and to get complete
> > synchronization?
>
> I presonally don't see anything wrong with that one. You shouldn't go too
> complex for such simple sync scenario
>
> --
>
> Stoitcho Goutsev (100) [C# MVP]
>
>
>
- Next message: Ken Kolda: "Re: why can I overload the != operator??"
- Previous message: Paul C.: "Compiling (?) for C-Sharp using Mono ... problem w/ InitializeComponent"
- In reply to: Stoitcho Goutsev \(100\) [C# MVP]: "Re: Thread synchronization problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|