Can you explain your use case a little more? In my experience, locking records through a database creates more work and doesn’t really solve the problem. Under what circumstances do you need these locks?
Ken On Jan 3, 2015, at 1:52 PM, OC <[email protected]> wrote: > Hello there, > > I'm about to implement the support for reliable both inter- and > intra-instance locking; most probably based on a separate table with > different rows for different „locks“, or something like that. > > Presumably this is one case where fixed PKs are beneficial (so that two > instances can't insert same lock row at once). Before I dive into all the > possible race conditions and other gotchas, I wonder -- this being a pretty > common need, isn't there somewhere already implemented appropriate support in > WOnder? > > Thanks, > OC > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
