Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: progschj/ThreadPool
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
Loading
...
head repository: Calthron/ThreadPool
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Checking mergeability… Don’t worry, you can still create the pull request.
  • 10 commits
  • 3 files changed
  • 1 contributor

Commits on Nov 10, 2015

  1. Add ability to enqueue a task that does not require monitoring a retu…

    …rn value
    
    Add the ability to enqueue a task that does not require monitoring a
    return value.  std::future<T> on destruction is expected to wait() for a
    thread to complete before completing destruction (btw, MSVS2103
    std::future/std::ansync does not behave according to C++ Standard).  If
    a temporary future is created (not captured), the calling thread should
    block waiting for the thread to exit and complete the promise.  An
    alternate enqueueAndDetach method was added to allow for invocations
    that don't require the capturing of the std::future.
    Calthron committed Nov 10, 2015
    Configuration menu
    Copy the full SHA
    1eb6812 View commit details
    Browse the repository at this point in the history
  2. Typo in comment

    Typo in comment
    Calthron committed Nov 10, 2015
    Configuration menu
    Copy the full SHA
    a37e613 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2015

  1. Break into header and implementation

    Break the source into header and implementation, make the template
    definition more readable by changing F to Callable
    Calthron committed Nov 11, 2015
    Configuration menu
    Copy the full SHA
    e463df9 View commit details
    Browse the repository at this point in the history
  2. Rename ThreadPool.h to ThreadPool.hpp

    Rename ThreadPool.h to ThreadPool.hpp
    Calthron committed Nov 11, 2015
    Configuration menu
    Copy the full SHA
    16e0dbf View commit details
    Browse the repository at this point in the history
  3. Comment update

    Comment update
    Calthron committed Nov 11, 2015
    Configuration menu
    Copy the full SHA
    78b440b View commit details
    Browse the repository at this point in the history
  4. Use typename instead of class

    Use typename instead of class
    Calthron committed Nov 11, 2015
    Configuration menu
    Copy the full SHA
    9db68cc View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2015

  1. Use break instead of return

    Provide a single exit point for the worker thread
    Calthron committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    834fc0c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f761d52 View commit details
    Browse the repository at this point in the history
  3. Use lock_t instead of Lock

    Use lock_t instead of Lock
    Calthron committed Nov 13, 2015
    Configuration menu
    Copy the full SHA
    3a5d8a8 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2017

  1. Remove enqueAndDetach

    enqueAndDetach is not needed as std::future wait is not an issues on
    it's destruction if it is not created from std::async.
    Calthron committed Jan 25, 2017
    Configuration menu
    Copy the full SHA
    cbb46e0 View commit details
    Browse the repository at this point in the history
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.