commit | ef4ccd385650612a830a098f4b1eac48482b65b3 | [log] [tgz] |
---|---|---|
author | Vladimir Chtchetkine <vchtchetkine@google.com> | Tue Apr 03 10:27:12 2012 -0700 |
committer | Vladimir Chtchetkine <vchtchetkine@google.com> | Tue Apr 03 16:13:42 2012 -0700 |
tree | dad74ea321507a3a0912a0142387e8df3bff901f | |
parent | 6dc5c2cef91004488f04fc6e9c0946f6d3a29705 [diff] |
Make all async I/O object referenced. Since it's hard to control lifespan of an object in asynchronous environment, we should make all AsyncXxx objects a referenced objecst, that will self-destruct when its reference count drops to zero, indicating that the last client that used the object has abandoned it. Change-Id: I6f8194aa14e52a23a8772d827583782989654504