This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
David Mosberger <davidm@hpl.hp.com> writes: > But if we do that, clone() couldn't be used to specify a fixed size > stack area that lives in memory that has already been allocated (e.g., > as part of a larger structure). > > Seems like a case of damned if you do, damned if you don't... Simply provide a clone flag. If not set, clone assumes the memory is there. If it is set. clone actually reserves the memory and sets the stack pointer at the appropriate end. -- ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Red Hat `--' drepper at redhat.com `------------------------
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |