summaryrefslogtreecommitdiff
path: root/src/upstream/journal-def.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2021-08-23 23:49:17 -0700
committerVito Caputo <vcaputo@pengaru.com>2021-08-24 00:48:46 -0700
commit6150dcd14773517d5c0fff0fee7bc6fe6f75e086 (patch)
tree086cb81303863adaca76364c703bce4dab66953e /src/upstream/journal-def.h
parent34e7db0b48b952141b8fd392ff03dfc57124fc3d (diff)
thunk_h: bump submodule for new lifecycle model
Udpate thunk usage througout to explicitly control thunk instance lifecycles from calleees according to new model. This enables discarding a bunch of the per-object dispatch thunks, eliminates some thunk leaks, and I think generally makes the code more expressive and clear about what's going on. Keep in mind this is all experimental and and I'm not spending a whole lot of time on this, it's mostly a toy and exploring some different programming styles I'd never really consider for production/real work. Though it actually has some interesting properties, and produces some surprisingly succinct and readable listings at times once you have the cumbersome building blocks in place. Especially for non-daemon programs where you can basically either log+ignore errors or treat them as fatal, I think this programming style might actually have its place.
Diffstat (limited to 'src/upstream/journal-def.h')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved