TextWriter synchronized method
- From: "fniles" <fniles@xxxxxxxxxx>
- Date: Tue, 28 Aug 2007 13:38:33 -0500
If I use TextWriter synchronized method like below codes if another thread
is trying to write at the same time, what will happen ? Will it the 2nd
thread request to write to the file be queued ? Will the 2nd thread then
stop processing other codes while waiting to write to this file ?
Thank you.
Dim swLogOrig As StreamWriter
Dim swLog As TextWriter
swLogOrig = New StreamWriter(m_sLogFileName, True)
swLog = TextWriter.Synchronized(swLogOrig)
.
- Follow-Ups:
- Re: TextWriter synchronized method
- From: Spam Catcher
- Re: TextWriter synchronized method
- Prev by Date: How do I watch for executables starting???
- Next by Date: Re: Comparing and Ranking Textboxes
- Previous by thread: How do I watch for executables starting???
- Next by thread: Re: TextWriter synchronized method
- Index(es):