Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
GeneralRe: Thread Safety??? Pin
Super Lloyd19-Jul-06 17:22
Super Lloyd19-Jul-06 17:22 
QuestionRe: Thread Safety??? Pin
Dustin Metzgar19-Jul-06 9:13
Dustin Metzgar19-Jul-06 9:13 
AnswerRe: Thread Safety??? Pin
RizwanSharp19-Jul-06 9:52
RizwanSharp19-Jul-06 9:52 
GeneralRe: Thread Safety??? Pin
Dustin Metzgar19-Jul-06 10:16
Dustin Metzgar19-Jul-06 10:16 
GeneralRe: Thread Safety??? Pin
RizwanSharp19-Jul-06 11:15
RizwanSharp19-Jul-06 11:15 
GeneralRe: Thread Safety??? Pin
Dustin Metzgar19-Jul-06 11:25
Dustin Metzgar19-Jul-06 11:25 
GeneralRe: Thread Safety??? Pin
RizwanSharp19-Jul-06 11:35
RizwanSharp19-Jul-06 11:35 
GeneralRe: Thread Safety??? Pin
Dustin Metzgar19-Jul-06 13:45
Dustin Metzgar19-Jul-06 13:45 
Well, you have a lock, which is fine. The lock will only let one thread through this code at a time. This is guaranteed. What's not guaranteed is what I'm asking about. This method is not static, so it must be an instance method. I assume that dataStream is also not static. My question is about where dataStream goes. Does it wrap around an existing stream that other objects can also wrap around? If you have a stream that is shared between two or more objects with this SendMessage method, then the lock is useless. That's why I'm asking if this is a singleton or not.


Logifusion[^]
AnswerGot the actual problem!!! Pin
RizwanSharp19-Jul-06 21:43
RizwanSharp19-Jul-06 21:43 
GeneralRe: Got the actual problem!!! Pin
Dustin Metzgar20-Jul-06 5:23
Dustin Metzgar20-Jul-06 5:23 
GeneralSolved ;) Pin
RizwanSharp20-Jul-06 5:33
RizwanSharp20-Jul-06 5:33 
QuestionHow to get some special Windows colors? Pin
NPowDev19-Jul-06 7:25
NPowDev19-Jul-06 7:25 
AnswerRe: How to get some special Windows colors? Pin
Judah Gabriel Himango19-Jul-06 7:29
sponsorJudah Gabriel Himango19-Jul-06 7:29 
Generaland System.Drawing.SystemColors Pin
Ennis Ray Lynch, Jr.19-Jul-06 8:35
Ennis Ray Lynch, Jr.19-Jul-06 8:35 
GeneralRe: How to get some special Windows colors? Pin
NPowDev19-Jul-06 12:06
NPowDev19-Jul-06 12:06 
GeneralRe: How to get some special Windows colors? Pin
Judah Gabriel Himango19-Jul-06 17:14
sponsorJudah Gabriel Himango19-Jul-06 17:14 
GeneralRe: How to get some special Windows colors? [modified] Pin
NPowDev20-Jul-06 1:45
NPowDev20-Jul-06 1:45 
GeneralRe: How to get some special Windows colors? Pin
Judah Gabriel Himango20-Jul-06 4:36
sponsorJudah Gabriel Himango20-Jul-06 4:36 
Questionerror Pin
TAREQ F ABUZUHRI19-Jul-06 7:04
TAREQ F ABUZUHRI19-Jul-06 7:04 
AnswerRe: error Pin
Judah Gabriel Himango19-Jul-06 7:12
sponsorJudah Gabriel Himango19-Jul-06 7:12 
QuestionAdd attributes to XML doc [modified] Pin
VK-Cadec19-Jul-06 6:47
VK-Cadec19-Jul-06 6:47 
AnswerRe: Add attributes to XML doc Pin
stancrm19-Jul-06 7:21
stancrm19-Jul-06 7:21 
GeneralRe: Add attributes to XML doc Pin
VK-Cadec19-Jul-06 7:26
VK-Cadec19-Jul-06 7:26 
GeneralRe: Add attributes to XML doc Pin
Rob Graham19-Jul-06 10:45
Rob Graham19-Jul-06 10:45 
QuestionApplication deep logging/traceing Pin
nemopeti19-Jul-06 6:24
nemopeti19-Jul-06 6:24 

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.