Branch: refs/heads/master
  Home:   https://github.com/mailru/tarantool

  Commit: d6965dc0c54c173e4b446e50dc543437a404130d
      
https://github.com/mailru/tarantool/commit/d6965dc0c54c173e4b446e50dc543437a404130d
  Author: Konstantin Osipov <[email protected]>
  Date:   2011-07-24 (Sun, 24 Jul 2011)

  Changed paths:
    M core/admin.m
  M core/admin.rl
  M core/fiber.m
  M core/iproto.m
  M core/log_io.m
  M core/replication.m
  M core/tarantool.m
  M include/errcode.h
  M include/fiber.h
  M mod/CMakeLists.txt
  M mod/box/box.m
  M mod/box/index.m
  M mod/box/memcached-grammar.m
  M mod/box/memcached-grammar.rl
  M mod/box/memcached.m

  Log Message:
  -----------
  A pre-requisite patch for Lua stored procedures: fiber->pool.

A pre-requisite patch for Lua stored procedures:

in some cases, it would be nice to create a Lua context
in connection and destroy it when a connection ends.

Unfortunately, right now fiber connections are stateless:
there is on fiber constructor, destructor, or non-global fiber
state.

Change that by introducing fiber->pool, an allocation
pool in which memory lives till a fiber is destroyed
or becomes a zombie.

We already have fiber->pool, which life cycle is different:
it is created when a fiber starts, destroyed when a fiber
ends, but also is garbage-collected once in a while.

Rename this pool to fiber->gc_pool, to allow using
name 'fiber->pool for something else.

This patch only performs a rename and does nothing else.



_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to