)]}'
{"neutron/agent/linux/async_process.py":[{"author":{"_account_id":12737,"name":"Jacek Swiderski","email":"jacek.swiderski@codilime.com","username":"Altran"},"change_message_id":"b123a159902f5d19083839ad53ce89ba447a4a1f","unresolved":false,"context_lines":[{"line_number":113,"context_line":"               attempted."},{"line_number":114,"context_line":"        \"\"\""},{"line_number":115,"context_line":"        # Halt the greenthreads"},{"line_number":116,"context_line":"        if not self._kill_event.ready():"},{"line_number":117,"context_line":"            self._kill_event.send()"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"        pid \u003d self._get_pid_to_kill()"}],"source_content_type":"text/x-python","patch_set":1,"id":"7ac7a964_4b20b4f7","line":116,"updated":"2014-08-14 10:23:39.000000000","message":"Why are we sending event only if it\u0027s not ready ?","commit_id":"ba5ebb5476954d3853f0dfe49dcf29602a867f7f"},{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"0481f714d03c8960e7599ad3e7eacbd29e09e8ad","unresolved":false,"context_lines":[{"line_number":116,"context_line":"        \"\"\"Kill the process and the associated watcher greenthreads."},{"line_number":117,"context_line":"        \"\"\""},{"line_number":118,"context_line":"        # Halt the greenthreads"},{"line_number":119,"context_line":"        self._kill_event.send()"},{"line_number":120,"context_line":"        self._kill_event \u003d None"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"        pid \u003d self._get_pid_to_kill()"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_eb6335af","line":119,"updated":"2014-08-18 15:24:11.000000000","message":"I\u0027m not sure it safe. Apparently this line is hit two times under certain conditions, so we need to check _kill_event before using it.","commit_id":"4e7a13eb13f08c75ec56b364f39de69db8bd340d"},{"author":{"_account_id":7170,"name":"Zang MingJie","email":"zealot0630@gmail.com","username":"zealot"},"change_message_id":"345027cf854ffe0d3ecf989db6df6d26b2363173","unresolved":false,"context_lines":[{"line_number":116,"context_line":"        \"\"\"Kill the process and the associated watcher greenthreads."},{"line_number":117,"context_line":"        \"\"\""},{"line_number":118,"context_line":"        # Halt the greenthreads"},{"line_number":119,"context_line":"        self._kill_event.send()"},{"line_number":120,"context_line":"        self._kill_event \u003d None"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"        pid \u003d self._get_pid_to_kill()"}],"source_content_type":"text/x-python","patch_set":2,"id":"1abeadc6_462c0948","line":119,"in_reply_to":"1abeadc6_eb6335af","updated":"2014-08-19 03:17:08.000000000","message":"It is safe here\n\n\nthere is 2 pathes lead to here\n\n\n1. stop\n\n2. _handle_process_error\n\n\nboth have _kill_event checked, I\u0027ll add a lock to ensure the operation is atomic","commit_id":"4e7a13eb13f08c75ec56b364f39de69db8bd340d"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"51f12d69abafb8dbeba6ac47cba3504451580af2","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        self._stdout_lines \u003d eventlet.queue.LightQueue()"},{"line_number":77,"context_line":"        self._stderr_lines \u003d eventlet.queue.LightQueue()"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"    @lockutils.instance_synchronized(\u0027state\u0027)"},{"line_number":80,"context_line":"    def start(self):"},{"line_number":81,"context_line":"        \"\"\"Launch a process and monitor it asynchronously.\"\"\""},{"line_number":82,"context_line":"        if self._kill_event:"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa98f980_62cd3b85","line":79,"range":{"start_line":79,"start_character":38,"end_line":79,"end_character":43},"updated":"2014-09-03 06:13:51.000000000","message":"\u0027state\u0027 sounds like too generic even for instance-specific lock.","commit_id":"e8bda2835e95109f4c646e7dd677556836c8731a"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"51f12d69abafb8dbeba6ac47cba3504451580af2","unresolved":false,"context_lines":[{"line_number":94,"context_line":"            LOG.debug(_(\u0027Halting async process [%s].\u0027), self.cmd)"},{"line_number":95,"context_line":"            self._kill()"},{"line_number":96,"context_line":"        elif self._respawning:"},{"line_number":97,"context_line":"            LOG.debug(_(\u0027Cancel respawn async process [%s].\u0027), self.cmd)"},{"line_number":98,"context_line":"            self._respawning \u003d False"},{"line_number":99,"context_line":"        else:"},{"line_number":100,"context_line":"            raise AsyncProcessException(_(\u0027Process is not running.\u0027))"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa98f980_a21563e6","line":97,"updated":"2014-09-03 06:13:51.000000000","message":"no localization for debug logs.","commit_id":"e8bda2835e95109f4c646e7dd677556836c8731a"}],"neutron/openstack/common/lockutils.py":[{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"93aa00131a2a9a2bd24ef79ecae1c791b724a16d","unresolved":false,"context_lines":[{"line_number":254,"context_line":"    return wrap"},{"line_number":255,"context_line":""},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"def instance_synchronized(name):"},{"line_number":258,"context_line":"    \"\"\"Synchronization decorator."},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"    Decorating a method like so::"}],"source_content_type":"text/x-python","patch_set":4,"id":"1abeadc6_24be2000","line":257,"updated":"2014-08-26 13:06:54.000000000","message":"Is it an oslo-incubator code sync?","commit_id":"e8bda2835e95109f4c646e7dd677556836c8731a"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"51f12d69abafb8dbeba6ac47cba3504451580af2","unresolved":false,"context_lines":[{"line_number":254,"context_line":"    return wrap"},{"line_number":255,"context_line":""},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"def instance_synchronized(name):"},{"line_number":258,"context_line":"    \"\"\"Synchronization decorator."},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"    Decorating a method like so::"}],"source_content_type":"text/x-python","patch_set":4,"id":"fa98f980_e20ccbef","line":257,"in_reply_to":"1abeadc6_24be2000","updated":"2014-09-03 06:13:51.000000000","message":"this should be proposed for oslo.concurrency/oslo-incubator first.","commit_id":"e8bda2835e95109f4c646e7dd677556836c8731a"}]}
