https://issues.apache.org/bugzilla/show_bug.cgi?id=51888

Philippe Mouawad <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #17 from Philippe Mouawad <[email protected]> 
2011-09-27 07:09:14 UTC ---
Hello Sebb,
I tested the fix and for me it introduces an issue:
- I get the popup saying : "One or more test threads won't exit; see log file."


To reproduce issue , I run with 3 threads on 15 s rampup.
I let 2 thread start and call stop at that time, you will see that the stopper
thread may stay alive.


Furthermore I think there is something wrong in the fix:
- number of lock/unlock don't match, is this regular ?
- what forbidds stop from taking the lock before interrupt ? for me the latch
did it because it was incremented in stop so run thread would be stopped until
interrupt released the latch (I agree making that on public method may no be
the best) that interrupt would countdown. But here if stop goes faster it will
take the lock and interrupt will just wait, or maybe I have missed something.

Regards
Philippe Mouawad

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to