[sr-dev] When is mod_register() called?

Daniel-Constantin Mierla miconda at gmail.com
Thu Feb 2 11:29:56 CET 2012



On 2/2/12 11:13 AM, Alex Hermann wrote:
> On Thursday 02 February 2012, Alex Hermann wrote:
>> On Thursday 02 February 2012, Daniel-Constantin Mierla wrote:
>>> On 2/2/12 9:42 AM, Alex Hermann wrote:
>>>> While looking at this code a question emerged: is mod_register() called
>>>> before or after forking the subprocesses? (I hope the answer is after)
>>> before forking (when the module is loaded), why do you hope is after?
>> I may misunderstand the concept of shared memory on forking,
> Apparantly i did. Sorry for the noise.
no problem -- in this case is system private memory, as I wanted to keep 
like previously, where no pkg or shm was used for this purpose (it was a 
static buffer).

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda




More information about the sr-dev mailing list