Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7970

Adding process::Executor::execute()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • 1.4.1
    • libprocess
    • None
    • Mesosphere Sprint 63, Mesosphere Sprint 64
    • 2

    Description

      It would be easier to use process::Executor if we can add an execute() interface that runs a function asynchronously and returns a Future, so we do the following:

      process::Executor executor;
      executor.execute(f, a0 a1)
        .then(executor.defer(g));
      

      Attachments

        Activity

          People

            chhsia0 Chun-Hung Hsiao
            chhsia0 Chun-Hung Hsiao
            Benjamin Hindman Benjamin Hindman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: