Link Details

Link 124263 thumbnail
User 285573 avatar

By alashcraft
via codebetter.com
Published: Oct 10 2008 / 09:33

I ran into a variation on an old threading problem the other day that I found nearly impossible to unit test. When I say impossible, getting my test scenario to succeed meant the guaranteed setting of two threading primitives before a WaitHandle evaluation occurred. Getting this to run properly every time requires some fancy test code which is where I stop and say to myself - "there has to be a better approach."
  • 9
  • 0
  • 993
  • 197

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)



Voters Against This Link (0)