summaryrefslogtreecommitdiffstats
path: root/tw_atomic.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-27Add cancel backup capability.bigbiff1-0/+68
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