Re: Do I need a mutex to access members from different threads?
- From: Freesc <hjd.click@xxxxxxxxx>
- Date: Sun, 6 Jan 2008 22:53:45 -0800 (PST)
On Jan 7, 2:03 am, mind_the_gap <2voo...@xxxxxx> wrote:
Hello there,
currently I am working on a c# project with the .Net Compact Framwork.
I have to use two threads where one of them modifies a member of the
class in regular timed intervals. The "normal" (e.g. the first or
start or main thread :P) thread needs to read this data to display it.
So can this bring up some errors or problems (like asyncronous reading/
writing) and do I need a mutex for writing and reading the data from
different threads?
Are there any examples for this? I am relatively new to threads.
Thanks in advance
Tom
Control.Invoke() method will be a good choice ~
.
- Follow-Ups:
- Re: Do I need a mutex to access members from different threads?
- From: mind_the_gap
- Re: Do I need a mutex to access members from different threads?
- References:
- Do I need a mutex to access members from different threads?
- From: mind_the_gap
- Do I need a mutex to access members from different threads?
- Prev by Date: Displaying reply or forward forms with MailComposeMessage and CreateComposeForm
- Next by Date: Re: SqlCeConnection path error in .NET compact framework (Pocket PC Em
- Previous by thread: Do I need a mutex to access members from different threads?
- Next by thread: Re: Do I need a mutex to access members from different threads?
- Index(es):
Relevant Pages
|