Zhoutall / stasis

Automatically exported from code.google.com/p/stasis
Other
0 stars 0 forks source link

Add deferred, end of transaction operations. #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add an array of fields to transaction structs.  At the end of each
transcation, consult the fields.  For each non-zero field, invoke a
corresponding callback.  This avoids useless allocator work, and is
generally useful.  It also reduces the amount of hard-coded logic in tcommit.

Since the field is in the transcation table, it allows such mechanisms to
avoid a mutex acquisition.

Original issue reported on code.google.com by sears.ru...@gmail.com on 4 Nov 2009 at 3:40

GoogleCodeExporter commented 9 years ago
Addressed by r1305.  Still need to move (broken) lock manager code into 
callback 
functions.  (Will file new, low priority bug on that...)

Original comment by sears.ru...@gmail.com on 15 Dec 2009 at 6:32