MCS design proposal

Brian J. Tarricone bjt23 at cornell.edu
Wed Mar 21 01:37:13 CET 2007


On Wed, 21 Mar 2007 01:23:39 +0100, Jannis Pohlmann wrote:

> I didn't get the point of transaction IDs Havoc mentioned. How could
> this be useful for us?

If you want to write a bunch of config entries out, one after another,
but don't want any to actually get written unless they all get written,
you could use a transaction.  Basically you'd start a transaction,
batch up a bunch of org.xfce.MCS.Set() operations, and they'd either
all get committed to the config store, or none.  There may not be many
places where this is useful; I dunno.

	-brian



More information about the Xfce4-dev mailing list