)]}'
{"test/unit/common/test_utils.py":[{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"c9fbbb9a97e9d258429ee31b94f5d1ef55e4ac2f","unresolved":false,"context_lines":[{"line_number":6382,"context_line":"            pthread2_event.set()"},{"line_number":6383,"context_line":""},{"line_number":6384,"context_line":"        def pthread2():"},{"line_number":6385,"context_line":"            thread_id.append(id(eventlet.greenthread.getcurrent()))"},{"line_number":6386,"context_line":"            self.mutex.acquire()"},{"line_number":6387,"context_line":"            pthread1_event.set()"},{"line_number":6388,"context_line":"            pthread2_event.wait()"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f436f4f_a8b4abf2","line":6385,"updated":"2017-08-16 15:42:55.000000000","message":"I\u0027m pretty sure we want this inside the lock -- otherwise, pthread2 may write to thread_id ahead of pthread1.\n\nCome to think of it... we may need another event to ensure pthread1 always acquires the lock first, so the test doesn\u0027t deadlock...","commit_id":"932b1c090802ae184433966fd44e445a808c5ebe"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"c9fbbb9a97e9d258429ee31b94f5d1ef55e4ac2f","unresolved":false,"context_lines":[{"line_number":6400,"context_line":"        real_thread1.join()"},{"line_number":6401,"context_line":"        real_thread2.join()"},{"line_number":6402,"context_line":"        self.assertIsNotNone(owner[0])"},{"line_number":6403,"context_line":"        self.assertIsNotNone(owner[1])"},{"line_number":6404,"context_line":"        self.assertEqual(thread_id, owner)"},{"line_number":6405,"context_line":"        self.assertIsNone(self.mutex.owner)"},{"line_number":6406,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9f436f4f_4892df58","line":6403,"updated":"2017-08-16 15:42:55.000000000","message":"With the assertEqual() below, I don\u0027t know that these add much -- I\u0027d be OK with dropping the assertIsNotNone()s.","commit_id":"932b1c090802ae184433966fd44e445a808c5ebe"}]}
