Branch: refs/heads/stable
  Home:   https://github.com/tarantool/tarantool
  Commit: a73d6dc89691e83e4e894de530318f5b6257b5bd
      
https://github.com/tarantool/tarantool/commit/a73d6dc89691e83e4e894de530318f5b6257b5bd
  Author: Konstantin Osipov <[email protected]>
  Date:   2013-11-21 (Thu, 21 Nov 2013)

  Changed paths:
    M src/ipc.cc
    M src/lua/init.cc
    M test/box/fiber.result
    M test/box/fiber.test

  Log Message:
  -----------
  A fix and a test case for https://github.com/tarantool/tarantool/issues/119

A dead fiber could get reused prematurely or garbage collected twice.

This was because __gc could get invoked way after the fiber has
finished and reused for a different coroutine.

The fix is to always access fibers in Lua by fiber id.



_______________________________________________
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