瀏覽代碼

tlist.h:
Change interface to allow storing of handle address in timer structure.
aispoll.h, aispoll.c:
Change define for timer handle.
tlist.c:
Store handle address in timer structure. When timer expires, wipe
out the handle address's value, since the timer is no longer valid.
This allows double frees, or frees on handles that haven't been
added.
One note of caution: a handle cannot be moved into another variable
and be expected to work properly for double frees.

BKrev: 4152267afe09VjiyO_78GrWKiND_oQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@278 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 21 年之前
父節點
當前提交
1a986df850

暫無可用數據