Am 21. Juli 2011 12:00 schrieb Iustin Pop <[email protected]>: > On Fri, Jul 15, 2011 at 01:12:18AM +0200, [email protected] wrote: >> With this change it'll be possible to register other lock information >> providers. One usecase for this are job dependencies, which can be shown >> in the output of “gnt-debug locks”, too. >> >> The lock monitor is changed to accept more than one return value from >> the function providing the information. Unfortunately it's hard to keep >> weak references to bound methods, so that I settled on keeping a weak >> reference on the object instead (see note in docstring). > > Hmm, how does returning more return values help? Is it for (e.g.) the > depedency manager returning all jobs we're waiting on?
Indeed it is. See my other patch (“Export job dependencies through lock monitor”), which you already reviewed. Michael
