summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Vaibhav Devmurari <vdevmurari@google.com> 2024-03-08 17:56:35 +0000
committer Vaibhav Devmurari <vdevmurari@google.com> 2024-04-03 13:57:24 +0000
commit3ec2f07cbbcd0b00a8f1c1d931c03f7a83bc4777 (patch)
tree705cee0efe54c4fa7cfde9464fc92c0de883b484 /libs/ultrahdr/jpegencoderhelper.cpp
parentc37fbef9e251ba098a8c907fef4de4027a24da83 (diff)
Rely on C++ wake and sleep calls for InputFilter thread
Earlier, we used rust thread park()/unpark() to put the thread to sleep and wake up from sleep. But that caused some breakages after migrating the rust system crates to 2021 edition. Since, the threads are created in C++, it was more reliable to rely on C++ side of the implementation to implement the sleep and wake functions. Test: atest --host libinputflinger_rs_test Test: manual Bug: 294546335 Change-Id: I2eecae4716529d9d4cdd70ab22e784afc68648bf
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions