org.jruby.RubyThreadGroup need to synchronized methods
------------------------------------------------------
Key: JRUBY-1288
URL: http://jira.codehaus.org/browse/JRUBY-1288
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.0.0
Reporter: lei zhen
Class org.jruby.RubyThreadGroup can cause thread conflict problem in
multithread environment,
Modify to the variable "rubyThreadList" is not synchronized.
Should add synchronized keyword on method "add(RubyThread rubyThread, Block
block)" and
"remove(RubyThread rubyThread) ".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email