lkml.org 
[lkml]   [2006]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: OT: fork(): parent or child should run first?
    On Thu, Jan 12, 2006 at 05:23:48PM +0000, Hugh Dickins wrote:
    > I've not been following the thread, but if your suggestion is good, then
    > better would be to use mmap MAP_SHARED|MAP_ANONYMOUS - that gives memory
    > shared between parent and children, without all the nuisance of shmids.

    Well you would be right, but children processes do exec() for application(s)
    does not know anything about my ideas :) That's why I wanted to take care
    about them in parent and do 'cleanup' there.

    --
    - Gábor
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-01-12 21:22    [W:0.020 / U:1.852 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site