Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

My Test Code for DB Locking, etc.

 
Robert Konigsberg
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the code I used to test my DB Locking. Give it a look-see. If you use it, please let me know! Most important, let me know if you find it
  • helpful/unhelpful
  • correct/incorrect
  • complete/incomplete
  • right/wrong!!!


  • RK

     
    Matt Pryor
    Greenhorn
    Posts: 2
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Looks good except you may want to have a few more Threads concurrently attempting to lock / unlock records. It wasn't until I had 10,000 Threads fired off that I noticed that some of them were never returning from the wait state!
     
    Robert Konigsberg
    Ranch Hand
    Posts: 172
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    That's the kind of feedback I'm talking about!!

    Well everyone, make it a loop. I leave the details as an exercise.

    Hey, thanks.
    [ July 21, 2004: Message edited by: Robert Konigsberg ]
     
    Consider Paul's rocket mass heater.
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic