Click here to Skip to main content
15,892,809 members
Home / Discussions / C#
   

C#

 
GeneralRe: Web Service XML to DataGrid - 'System.NullReferenceException' error Pin
Rob Philpott29-Nov-05 22:56
Rob Philpott29-Nov-05 22:56 
QuestionDatabase Directory Error Pin
TheMajorRager29-Nov-05 7:00
TheMajorRager29-Nov-05 7:00 
AnswerRe: Database Directory Error Pin
KaptinKrunch29-Nov-05 7:25
KaptinKrunch29-Nov-05 7:25 
GeneralRe: Database Directory Error Pin
TheMajorRager29-Nov-05 10:01
TheMajorRager29-Nov-05 10:01 
QuestionSockets - Intensive I/O Issues Pin
mcljava29-Nov-05 5:09
mcljava29-Nov-05 5:09 
AnswerRe: Sockets - Intensive I/O Issues Pin
leppie29-Nov-05 7:25
leppie29-Nov-05 7:25 
GeneralRe: Sockets - Intensive I/O Issues Pin
mcljava29-Nov-05 8:04
mcljava29-Nov-05 8:04 
QuestionThread Management Pin
thepolishguy29-Nov-05 5:07
thepolishguy29-Nov-05 5:07 
I need to read certain data from an external source for the duration of an application's run time. In order to do that, I set up a thread that starts as soon as the first form on the application loads and that will continue to run until that form is null.

Now, for most of the application run time, the values that I'm reading from the external source should be static (or nearly so), but the operator of the software will initiate a process (a test) during which the values I need to read will change. Ideally, I would still get those values from the external source from the separate thread, but I encountered some serious reduction in program efficiency when I did that.

The test itself runs on its own thread so that the operator can switch between different forms on the application while the test is running. When the test thread and the other thread that runs for the duration of the application were both competing to read from/write to the external source, I had the slowdown mentioned previously.

I solved the reduction in efficiency problem by having the test thread suspend the execution of the other thread until it finished its work, but encountered some problems after doing that which aren't obviously related to the thread suspension, but may be the culprit behind the problems I'm encountering. Is there a problem with one thread (not the main thread) suspending and then resuming the execution of a different thread (that is also not the main thread)?


AnswerRe: Thread Management Pin
mcljava29-Nov-05 7:02
mcljava29-Nov-05 7:02 
QuestionServer - Multi Client Chat Problem Pin
DarkAngel78629-Nov-05 4:47
DarkAngel78629-Nov-05 4:47 
AnswerRe: Server - Multi Client Chat Problem Pin
mcljava29-Nov-05 10:15
mcljava29-Nov-05 10:15 
GeneralRe: Server - Multi Client Chat Problem Pin
DarkAngel78629-Nov-05 22:41
DarkAngel78629-Nov-05 22:41 
QuestionHow to achieve automatic sorting in a TreeView? Pin
Morrgan29-Nov-05 4:45
Morrgan29-Nov-05 4:45 
AnswerRe: How to achieve automatic sorting in a TreeView? Pin
Curtis Schlak.29-Nov-05 9:08
Curtis Schlak.29-Nov-05 9:08 
GeneralRe: How to achieve automatic sorting in a TreeView? Pin
Morrgan29-Nov-05 20:14
Morrgan29-Nov-05 20:14 
GeneralRe: How to achieve automatic sorting in a TreeView? Pin
Curtis Schlak.30-Nov-05 1:59
Curtis Schlak.30-Nov-05 1:59 
QuestionComparing 2 strings and ignoring their case Pin
hasanali0029-Nov-05 3:22
hasanali0029-Nov-05 3:22 
AnswerRe: Comparing 2 strings and ignoring their case Pin
Guffa29-Nov-05 3:34
Guffa29-Nov-05 3:34 
QuestionHelp building a header !! Pin
Wicker_Basket29-Nov-05 3:04
Wicker_Basket29-Nov-05 3:04 
QuestionException while loading unmanaged Dll into C# Code Pin
Rashid.Mahmood29-Nov-05 2:18
Rashid.Mahmood29-Nov-05 2:18 
AnswerRe: Exception while loading unmanaged Dll into C# Code Pin
S. Senthil Kumar29-Nov-05 2:25
S. Senthil Kumar29-Nov-05 2:25 
GeneralRe: Exception while loading unmanaged Dll into C# Code Pin
Rashid.Mahmood29-Nov-05 3:45
Rashid.Mahmood29-Nov-05 3:45 
Questionbeginer 1 Pin
papa198029-Nov-05 2:06
papa198029-Nov-05 2:06 
AnswerRe: beginer 1 Pin
J4amieC29-Nov-05 2:58
J4amieC29-Nov-05 2:58 
GeneralRe: beginer 1 Pin
papa198029-Nov-05 4:49
papa198029-Nov-05 4:49 

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.