Click here to Skip to main content
15,890,282 members
Home / Discussions / C#
   

C#

 
QuestionCreate Update for Install Package Pin
Enobong Adahada1-Mar-11 0:34
Enobong Adahada1-Mar-11 0:34 
Questioncd/dvd read write access type properties Pin
Aisha sharma28-Feb-11 23:53
Aisha sharma28-Feb-11 23:53 
QuestionRe: cd/dvd read write access type properties Pin
musefan1-Mar-11 0:13
musefan1-Mar-11 0:13 
AnswerRe: cd/dvd read write access type properties Pin
Aisha sharma1-Mar-11 1:38
Aisha sharma1-Mar-11 1:38 
QuestionApplication freeze Pin
Helfdane28-Feb-11 22:18
Helfdane28-Feb-11 22:18 
AnswerRe: Application freeze Pin
Luc Pattyn28-Feb-11 23:35
sitebuilderLuc Pattyn28-Feb-11 23:35 
GeneralRe: Application freeze Pin
Helfdane28-Feb-11 23:45
Helfdane28-Feb-11 23:45 
AnswerRe: Application freeze Pin
Luc Pattyn1-Mar-11 0:17
sitebuilderLuc Pattyn1-Mar-11 0:17 
As you are not touching any GUI parts from a thread other than the main thread, it sounds like a deadlock; you seem to have a producer-consumer relation between two threads, possibly there is insufficient synchronization. Maybe you are sharing several data items, and a thread switch occurs when the shared data is in an inconsistent state. Maybe you allowed for a compiler optimization that isn't correct (e.g. lacking a volatile keyword).

OTOH there have been some synchronization changes in .NET 4.0, IIRC they had to adapt a few things to cope with some potential deadlock the way things used to be handled internally. There also is a new "cancellation model". I don't have a reference, and I never saw an actual victim of the old ways. This[^] is something a quick Google brought up, not sure it is related though.

I would consider it more likely the problem is in your code itself. It working properly all the time on some machines, and quite some time on the one, does not prove a thing. Bugs don't have to show themselves all the time, that would be too easy...

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

GeneralRe: Application freeze Pin
Helfdane1-Mar-11 3:35
Helfdane1-Mar-11 3:35 
GeneralRe: Application freeze Pin
Eddy Vluggen1-Mar-11 0:19
professionalEddy Vluggen1-Mar-11 0:19 
QuestionHow to display Message to the user if he dont have the respective application in his desktop to open the downloaded file.. Pin
Rocky2328-Feb-11 19:47
Rocky2328-Feb-11 19:47 
AnswerRe: How to display Message to the user if he dont have the respective application in his desktop to open the downloaded file.. Pin
Bernhard Hiller28-Feb-11 20:32
Bernhard Hiller28-Feb-11 20:32 
GeneralRe: How to display Message to the user if he dont have the respective application in his desktop to open the downloaded file.. Pin
Rocky2328-Feb-11 22:50
Rocky2328-Feb-11 22:50 
AnswerRe: How to display Message to the user if he dont have the respective application in his desktop to open the downloaded file.. Pin
_Erik_28-Feb-11 22:47
_Erik_28-Feb-11 22:47 
QuestionWin32_PhysicalMedia Problem Pin
Aisha sharma28-Feb-11 18:04
Aisha sharma28-Feb-11 18:04 
AnswerRe: Win32_PhysicalMedia Problem Pin
RobCroll28-Feb-11 21:21
RobCroll28-Feb-11 21:21 
QuestionWeb Serfer Monitor Pin
Anubhava Dimri28-Feb-11 17:33
Anubhava Dimri28-Feb-11 17:33 
AnswerRe: Web Serfer Monitor Pin
Richard MacCutchan28-Feb-11 23:17
mveRichard MacCutchan28-Feb-11 23:17 
GeneralRe: Web Serfer Monitor Pin
Anubhava Dimri28-Feb-11 23:23
Anubhava Dimri28-Feb-11 23:23 
GeneralRe: Web Serfer Monitor Pin
Richard MacCutchan28-Feb-11 23:51
mveRichard MacCutchan28-Feb-11 23:51 
GeneralRe: Web Serfer Monitor Pin
Dave Kreskowiak1-Mar-11 9:02
mveDave Kreskowiak1-Mar-11 9:02 
Questiondecimal.ToString() mystery [SOLVED] Pin
Super Lloyd28-Feb-11 11:20
Super Lloyd28-Feb-11 11:20 
AnswerRe: decimal.ToString() mystery Pin
Luc Pattyn28-Feb-11 11:38
sitebuilderLuc Pattyn28-Feb-11 11:38 
GeneralRe: decimal.ToString() mystery Pin
Super Lloyd28-Feb-11 11:47
Super Lloyd28-Feb-11 11:47 
AnswerRe: decimal.ToString() mystery Pin
Luc Pattyn28-Feb-11 12:01
sitebuilderLuc Pattyn28-Feb-11 12:01 

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.