quickstep-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zuyu <...@git.apache.org>
Subject [GitHub] incubator-quickstep pull request #14: Long lived Foreman thread and introduc...
Date Thu, 09 Jun 2016 18:27:58 GMT
Github user zuyu commented on a diff in the pull request:

    --- Diff: cli/QuickstepCli.cpp ---
    @@ -323,13 +326,20 @@ int main(int argc, char* argv[]) {
    -  foreman.setWorkerDirectory(&worker_directory);
    +  Foreman foreman(main_thread_client_id,
    +                  &worker_directory,
    +                  &bus,
    +                  query_processor->getDefaultDatabase(),
    +                  query_processor->getStorageManager(),
    +                  num_numa_nodes_system);
       // Start the worker threads.
       for (Worker &worker : workers) {
    +  foreman.start();
    --- End diff --
    What do you think of moving this line before workers start, thus matching the reverse
of the `join` order?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message