summaryrefslogtreecommitdiffstats
path: root/tw_atomic.hpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-27Add cancel backup capability.bigbiff1-7/+18
This will stop the iteration of the partition objects, kill the current twrpTar thread and remove the backup directory. Implement TWAtomicInt class to give us a wrapper that automatically uses mutexes before the read and write to help ensure that the reads and writes will be atomic based on documentation. Change-Id: I645b22bc980a292e9c7202acb24ffd22ebe68c63
2014-03-27Add basic error checking to legacy property initMatt Mower1-1/+1
Let init and rename funcitons return success or failure values. Change-Id: Ieed86cac8a0dcfd770a89dacc57fd306e7a6ad8d
2014-03-09Support pre-KitKat properties for update-binarythat1-8/+7
Google changed the in-memory format for storing properties in 4.4. Zips containing an older update-binary expect the old format, otherwise assertions on properties in the update script fail. This is just enough of the old property service to copy the properties to the legacy format before running the updater. Change-Id: I404680384bdc5e952609e295029ab0a0faf743a5
2013-09-10Kang in older minzip for building in CM9 & CM7Dees Troy1-0/+0
CM7 and CM9 do not have libselinux needed in the newer minzip.
2012-08-21Fix multiple defined symbol errorsEdwin Vane1-1/+1
Use of __inline__ by projects in bootable/* was causing problems with clang. Following the BKM and replaced use of __inline__ with __attribute((__gnu_inline)). Change-Id: If4ccfded685bb2c9d9c23c9b92ee052208399ef0 Author: Edwin Vane <edwin.vane@intel.com> Reviewed-by: Kevin P Schoedel <kevin.p.schoedel@intel.com>
2009-03-04auto import from //depot/cupcake/@135843The Android Open Source Project1-0/+26
2009-03-04auto import from //depot/cupcake/@135843The Android Open Source Project1-26/+0