#115 Release problem if you've got two threads with the same name

1.17
closed-accepted
nobody
Jacob Java (22)
5
2013-09-07
2013-02-08
Anonymous
No

The ROT class registers threads by name. If you've got two threads T1 and T2 with the same name then when you call ComThread.Release in T1 you are destroying JacobObject's of thread T2.
The use of ThreadLocal is the better solution to fix this problem.

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2013-02-14
     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2013-02-14

    I've modified the ROT class using ThreadLocal. I've attached the modified java file.

     
  • clay_shooter

    clay_shooter - 2013-07-23
    • status: open --> pending-accepted
     
  • clay_shooter

    clay_shooter - 2013-07-23

    This fix will show up in 1.17 M3

     
  • clay_shooter

    clay_shooter - 2013-09-07
    • status: pending-accepted --> closed-accepted
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks