BIND 10 trac2862, created. d2cf6a85554d5d9e02f1073bf41c61206a82effc [2861] Handle the callbacks

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Jul 8 08:25:02 UTC 2013


The branch, trac2862 has been created
        at  d2cf6a85554d5d9e02f1073bf41c61206a82effc (commit)

- Log -----------------------------------------------------------------
commit d2cf6a85554d5d9e02f1073bf41c61206a82effc
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date:   Thu Jul 4 12:04:59 2013 +0200

    [2861] Handle the callbacks

commit 32044b839f83bba409fad29df68e94247e7a94a0
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date:   Thu Jul 4 11:18:03 2013 +0200

    [2861] Create a socket pair

commit 6ad2bdd472dd5ef1156577667c09bc0bd90d3f39
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date:   Thu Jul 4 10:50:12 2013 +0200

    [2861] Test the main thread part of callbacks

commit 497bf6025e70ca767c703dc192a11d968c0c031d
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date:   Wed Jul 3 10:30:51 2013 +0200

    [2861] interface: Add IOService parameter to the manager
    
    It'll be needed to watch over the descriptor. Added one from the real
    server, and added a trick to provide one automatically in the tests.

commit 3ce8c82c2a3ef441510d2c7b0765169c2177f358
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date:   Tue Jul 2 13:29:58 2013 +0200

    [2861] Pass the callbacks and wake up the thread
    
    Pass the finished callbacks when the tasks are complete and wake up the
    remote (main) thread by writing to the socket.

commit d1c359da0db07875b967e616b07e5d56bcc51588
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date:   Tue Jul 2 13:05:10 2013 +0200

    [2861] Test the callbacks are sent back
    
    Test the work thread sends the callbacks back when commands are
    completed and the wake file descriptor is written to.

commit d432cd1889063c53a6d5249be9bf9c6029736364
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date:   Tue Jul 2 11:22:15 2013 +0200

    [2861] Share a file descriptor and finished queue
    
    Pass the file descriptor to wake up the main thread and the queue to put
    the callbacks into to the worker thread. The real socket is not yet
    created, nor it is used.

commit 6917e1335e35a4465b9e242a6c3e9b38c909d201
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date:   Tue Jul 2 10:13:06 2013 +0200

    [2861] Use structure for the command
    
    Replace std::pair with our own structure and add the callback there too.
    Update code to match the change. No functional change.

commit 2e7cd3c5a4935c2957d800c9e9f29e191e9bcece
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date:   Tue Jul 2 09:56:33 2013 +0200

    [2861] Add callback for finished command to the interface
    
    The callback is just stub now, it is passed but not stored, nor called.
    This is just a (backward compatible) interface change.

-----------------------------------------------------------------------



More information about the bind10-changes mailing list