Branch: refs/heads/master
  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.


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

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

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/stable'

Fixes gh-119, gh-120

Conflicts:
        src/lua/init.cc
        test/box/fiber.result
        test/box/fiber.test


Compare: 
https://github.com/tarantool/tarantool/compare/b18c90c08899...ef59fbe94247
_______________________________________________
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