** If the new write lock attempt is using the same handle to the gralloc buffer that is already locked, this will fail. This typically gives a message like "trying to upgrade a read lock to a write lock".
** If the new write lock attempt is using a different handle than the one already locked, then this locking operation will wait until the existing lock is released.
* A write lock can be converted into a read lock.