Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #3585

Re: To standardize Boost.Pool

Date 2011-04-13 09:41 -0700
From Phil Bouchard <phil@fornux.com>
Newsgroups comp.lang.c++
Subject Re: To standardize Boost.Pool
References <4da38d4b@news.x-privat.org> <slrniq9ik7.gtj.grahn+nntp@frailea.sa.invalid> <4da4eede@news.x-privat.org> <4da54bdd$1@news.x-privat.org> <5497ee99-8d91-4412-8995-6e1ea58ded81@32g2000vbe.googlegroups.com>
Message-ID <4da5d23b@news.x-privat.org> (permalink)
Organization X-Privat.Org NNTP Server - http://www.x-privat.org

Show all headers | View raw


On 4/13/2011 8:28 AM, Öö Tiib wrote:
>
> Please elaborate what is process::stack? On most platforms a process
> may have several threads, number of these threads often changes
> dynamically during processes lifetime and each of these threads does
> have its own stack.

process::stack represents the memory pages reserved for the stack of the 
current thread quite simply.  The details of the implementation would 
have to be hidden from the programmer so that all that he is exposed to 
are member functions such as malloc(size_t), free(void *), if_from(void 
*), etc.  Note that the malloc(size_t) call would be available only for 
the heap memory pool and so on.

I fail to see any other alternatives than that if a memory manager 
becomes eventually part of the standards.


Thanks,
-Phil

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

To standardize Boost.Pool  Phil Bouchard <phil@fornux.com> - 2011-04-12 07:44 -0600
  Re: To standardize Boost.Pool Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-04-12 21:56 +0000
    Re: To standardize Boost.Pool Phil Bouchard <phil@fornux.com> - 2011-04-12 17:31 -0700
      Re: To standardize Boost.Pool Phil Bouchard <phil@fornux.com> - 2011-04-13 00:08 -0700
        Re: To standardize Boost.Pool Öö Tiib <ootiib@hot.ee> - 2011-04-13 08:28 -0700
          Re: To standardize Boost.Pool Phil Bouchard <phil@fornux.com> - 2011-04-13 09:41 -0700
            Re: To standardize Boost.Pool Phil Bouchard <phil@fornux.com> - 2011-04-13 14:49 -0700
              Re: To standardize Boost.Pool Phil Bouchard <phil@fornux.com> - 2011-04-13 15:57 -0700
                Re: To standardize Boost.Pool Paavo Helde <myfirstname@osa.pri.ee> - 2011-04-13 23:39 -0500
                Re: To standardize Boost.Pool Phil Bouchard <phil@fornux.com> - 2011-04-13 22:43 -0700
                Re: To standardize Boost.Pool Phil Bouchard <phil@fornux.com> - 2011-04-13 22:53 -0700
                Re: To standardize Boost.Pool Miles Bader <miles@gnu.org> - 2011-04-14 15:55 +0900
                Re: To standardize Boost.Pool Phil Bouchard <phil@fornux.com> - 2011-04-14 00:15 -0700

csiph-web