[collectd-changes] collectd, the system statistics collection daemon: Changes to 'ja/lua'

Florian Forster octo at verplant.org
Sun Nov 28 16:21:20 CET 2010


 src/lua.c       |  122 +++++++++++++++++++++++++++++++++++++++++++++---------
 src/utils_lua.c |   45 +++++++++++---------
 src/utils_lua.h |    4 ++
 3 files changed, 130 insertions(+), 41 deletions(-)

New commits:
commit f275893bc80efcd062b76bcf9a5720827b5619ad
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sun Nov 28 16:21:14 2010 +0100

    lua plugin: Create a new thread for each callback.
    
    This allows callbacks to call one another and multiple read callbacks to
    be handled correctly.

commit df54f71cb0bf8421074f30435620fad308e3a00a
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sun Nov 28 16:09:33 2010 +0100

    src/utils_lua.[ch]: Various small bugfixes.
    
    Don't call "lua_pop()" after a "while (lua_next())" loop, for example.

commit cea24c89f6d700656faeff45afd993bac7749d8f
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sun Nov 28 15:23:34 2010 +0100

    lua plugin: Use "lua_pcall" to call read callbacks.
    
    Otherwise an error in the Lua script will abort() the entire daemon.
    The returned error message is handled correctly, too.




More information about the collectd-changes mailing list