libcamera2: Protect in-flight counts.
authorAlex Ray <aray@google.com>
Tue, 9 Apr 2013 00:44:06 +0000 (17:44 -0700)
committerAlex Ray <aray@google.com>
Tue, 9 Apr 2013 00:55:09 +0000 (17:55 -0700)
commit1264ab1629accf444d13831e209eafe4657d7664
tree1937725885f29314487503e8ef2a16752802d930
parentd866f455acab131be8f058733abd9c1ede2fcfea
libcamera2: Protect in-flight counts.

Protect numEntries accesses with numEntriesLock.
Protect jpegEncoder accesses with jpegEncoderLock.

Bug: 8058308
Change-Id: Idc31172d7d154ae2051e9eab94dadcf8f6cdddd3
libcamera2/ExynosCameraHWInterface2.cpp
libcamera2/ExynosCameraHWInterface2.h