summaryrefslogtreecommitdiffstats
path: root/media/libnbaio/NBLog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add RecordThread media.log and deferred deallocationGlenn Kasten2013-12-051-1/+1
| | | | | | | | | | | | | | | | This change allows a media.log buffer for RecordThread. Unlike playback threads which stick around forever, the RecordThread comes and goes for every capture session. This means that the media.log buffer for a RecordThread would disappear too, and so was useless. Now when a thread exits, it's associated media.log buffer is just marked for deferred deallocation. It is only actually freed when the memory is needed. Other changes: - Fix bug in unregistering comparison, it was comparing the wrong pointers - Increased size of log area so we can log for RecordThread also Change-Id: If45d4c03a793b86390a0112ec3acc5d41b2e3635
* Add non-blocking event logger NBLogGlenn Kasten2013-01-251-0/+447
Change-Id: I6c136cf3d7f46a8af84c69ecfc199dab394c10dc