Re: Locking for module_autoload() (was: Modules loading modules?)

2010-08-02 Thread Adam Hamsik
On Aug,Monday 2 2010, at 4:27 AM, Paul Goyette wrote: > On Sun, 1 Aug 2010, John Nemeth wrote: > >>I'm thinking the acquisition of module_lock should be pushed into >> module_autoload() instead of having the caller acquire it for this very >> reason. It makes it hard to change the way locki

Re: Locking for module_autoload() (was: Modules loading modules?)

2010-08-01 Thread Paul Goyette
On Mon, 2 Aug 2010, Adam Hamsik wrote: On Aug,Monday 2 2010, at 4:27 AM, Paul Goyette wrote: On Sun, 1 Aug 2010, John Nemeth wrote: I'm thinking the acquisition of module_lock should be pushed into module_autoload() instead of having the caller acquire it for this very reason. It makes

Re: Locking for module_autoload() (was: Modules loading modules?)

2010-08-01 Thread Paul Goyette
On Sun, 1 Aug 2010, John Nemeth wrote: I'm thinking the acquisition of module_lock should be pushed into module_autoload() instead of having the caller acquire it for this very reason. It makes it hard to change the way locking works in the MODULAR code if you expect the caller to acquire t