Discovering race conditions using PostSharp

10 בנובמבר 2010

3 תגובות

My blog has moved. You can view this post at the following address: http://blog.drorhelper.com/2010/11/discovering-race-conditions-using.html

הוסף תגובה
facebook linkedin twitter email

כתיבת תגובה

האימייל לא יוצג באתר. שדות החובה מסומנים *

3 תגובות

  1. Damien11 בנובמבר 2010 ב 10:30

    I'm sorry – maybe I'm missing something – but isn't there a race in your Enter code – two threads could observe the _executingThreadsId variable to be null, then set it and set the count to 1.

    Please, tell me what I'm missing?

    הגב
  2. Britt King11 בנובמבר 2010 ב 11:23

    Hi Dror,

    Greetings from Prague and thanks for the race conditions post. Thrilled to hear about your experience with PostSharp.

    Let's chat sometime soon. I'd like to know more about how you're using PostSharp.

    Best,

    -Britt
    Twitter: @brittrking

    הגב
  3. dhelper12 בנובמבר 2010 ב 9:01

    Damien: you're absolutely right – I had a race condition in my race condition discovery code 🙂

    Good find – I’ll edit the code, thanks.

    הגב