Check the isInUse with the lock held in MessageQueue
Fix a potential race condtion when the same message object is being enqueued by two threads. Bug: 150263007 Test: atest android.os.cts.MessageQueueTest Change-Id: Id79448ba8719479cbdb054f2cdd172fdcbe86d47
Loading
Please register or sign in to comment