I have been writing an application that loads large amounts of data into the a database. The process of loading the data into the database goes through several steps requiring a considerable amount of time to complete. The long processing time is not a matter of concern from the application stand point. However, frequently the application throws a "ContextSwitchDeadlock was detected" message that says the following: Message: The CLR has been unable to transition from COM context 0x20450a0 to COM context 0x20452f0 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives ...
hey new entry in technology..go through this videos and webcast.. http://www.asp.net/learn/videos/ for tutorials and webcast... http://www.asp.net/learn/moving-to-asp.net-2.0/ and one more... http://www.learnvisualstudio.net/AllVideos.aspx hey if you know better than this....ur comments most welcome
The quality of software depends on many inter-related attributes of the software. Some of the more important ones are: One attribute that I think is very important but I have never seen mentioned before is what I call debugability or how easy it is to track down the cause of a bug. The debugging process consists of three steps: 1. detecting the presence of a bug (aided by verifiability) 2. tracking down the root cause of the bug (aided by debugability) 3. changing the code to fix the (aided by modifiability) Sometimes the second step can be the most time-consuming; this is common in poorly written C code. In C debugability can be greatly improved by such things as assertions (which also improves verifiability, modifiability, reliability, etc). Other environments can greatly improve debugability, such as using Delphi or C# (w/o unsafe code). correctness the extent to which the soft- ware does what it is meant to reliability how often it cr...
Comments