8000 Comparing v0.5.4...master · uber/swift-concurrency · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
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: uber/swift-concurrency
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.4
Choose a base ref
...
head repository: uber/swift-concurrency
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 20 commits
  • 27 files changed
  • 6 contributors

Commits on Nov 1, 2018

  1. Allow tracking task ID to support reporting timeout error details

    When a timeout occurs while waiting for a sequence of tasks to finish execution, it is useful to understand which task was executing when the timeout occurred. Using an `Int` as task ID so the `SynchronizedSequenceExecutionHandle` can track it using the efficient lock-free `AtomicInt`, in order to minimize performance cost when tracking is enabled.
    neakor committed Nov 1, 2018
    Configuration menu
    Copy the full SHA
    af1c389 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #19 from uber/executor-track_task_id-master

    Allow tracking task ID to support reporting timeout error details
    rudro authored Nov 1, 2018
    Configuration menu
    Copy the full SHA
    5854d8e View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2018

  1. Configuration menu
    Copy the full SHA
    5e595a8 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2018

  1. Merge pull request #20 from uber/execution-fix_typo-master

    Fix typo in task ID tracking parameter
    rudro authored Nov 5, 2018
    Configuration menu
    Copy the full SHA
    9d587c6 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2018

  1. Set bundle version (#18)

    * Set bundle version to 1.0
    
    * Update to 0.6.1
    
    * Update
    
    * Revert change to CFBundleShortVersionString
    
    * Change version number
    sbarow authored and neakor committed Nov 13, 2018
    Configuration menu
    Copy the full SHA
    ff40394 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2018

  1. add an option to limit max concurrency (#21)

    * add an option to limit max concurrency
    
    * default to Int.max concurrent tasks
    rmaz authored and neakor committed Nov 30, 2018
    Configuration menu
    Copy the full SHA
    5911d01 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2018

  1. Avoid using semaphore if there is no concurrency limit (#22)

    Avoid paying the cost of calling the semaphore if no limit is set.
    neakor authored and rudro committed Dec 3, 2018
    Configuration menu
    Copy the full SHA
    4c21014 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d7fd4b View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2018

  1. Rename SerialSequenceExecutor (#23)

    Renames `SerialSequenceExecutor` to `ImmediateSerialSequenceExecutor` to better represent the execution is done immediately on the caller thread, since a `ConcurrentSequenceExecutor` limited to a maximum concurrency level of 1 would also be serial.
    neakor authored and rudro committed Dec 4, 2018
    Configuration menu
    Copy the full SHA
    0845568 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2018

  1. signal before recursion (#25)

    rmaz authored and neakor committed Dec 10, 2018
    Configuration menu
    Copy the full SHA
    7ead5bc View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2018

  1. Fix AtomicInt usages of deprecated atomic APIs (#26)

    * Fix AtomicInt usages of deprecated atomic APIs
    
    As of iOS 10.0 and MacOS 10.12 the old `OSMemoryBarrier`, `OSAtomicCompareAndSwap64Barrier`, `OSAtomicIncrement64Barrier`, and `OSAtomicDecrement64Barrier, APIs are deprecated. The warnings suggested new APIs are C++ and are not accessible from Swift.
    
    `OSMemoryBarrier` can be directly replaced with `atomic_thread_fence(memory_order_seq_cst)` which is accessible from Swift.
    
    The rest of the suggested C++ APIs `atomic_fetch_add`, `atomic_fetch_sub`, and `atomic_compare_exchange_strong` are not accessible from Swift. This change creates a Objective-C wrapper for these C++ APIs, so Swift code can access them.
    
    * Update TravisCI to use Xcode 10.1
    neakor authored and rudro committed Dec 13, 2018
    Configuration menu
    Copy the full SHA
    9c2d8fb View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2018

  1. Configuration menu
    Copy the full SHA
    efbd273 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2019

  1. Allow task execution to throw errors (#28)

    * Allow task execution to throw errors
    
    Adds support to allow task execution to throw errors. The error is then reported back via the `SequenceExecutionHandle.await` method when results are being retrieved.
    
    * Ignore SPM generated scheme
    
    * Xcode project changes
    neakor authored and rudro committed Jan 24, 2019
    Configuration menu
    < 10000 svg style="display: none;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check color-fg-success">
    Copy the full SHA
    d132096 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2019

  1. Add AutoReleasingSemaphore (#30)

    Similar to `DispatchSemaphore`, `AutoReleasingSemaphore` is a synchronization mechanism that ensures only a set number of threads can concurrently access a protected resource. Unlike `DispatchSemaphore`, `AutoReleasingSemaphore` auto-releases all blocked threads when the semaphore itself is deallocated.
    neakor authored and rudro committed Feb 20, 2019
    Configuration menu
    Copy the full SHA
    c773c32 View commit details
    Browse the repository at this point in the history
  2. Signal concurrency limiting semaphore when task errors (#31)

    This fixes the issue where if a task throws an error during execution, the concurrency limiting semaphore is never signaled. This can hault the entire sequence since no new tasks can continue execution.
    neakor authored and rudro committed Feb 20, 2019
    Configuration menu
    Copy the full SHA
    60edf0a View commit details
    Browse the repository at this point in the history
  3. Update ConcurrentSequenceExecutor to use AutoReleasingSemaphore (#33)

    * Update ConcurrentSequenceExecutor to use AutoReleasingSemaphore
    
    Fixes #29
    
    * Remove debugging code
    neakor authored Feb 20, 2019
    Configuration menu
    Copy the full SHA
    e29e42c View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2019

  1. Configuration menu
    Copy the full SHA
    ccb4866 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2019

  1. Fix Carthage Build

    sbarow committed Oct 2, 2019
    Configuration menu
    Copy the full SHA
    12c7233 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2019

  1. Merge pull request #39 from sbarow/master

    Fix Carthage Build
    sbarow authored Oct 3, 2019
    Configuration menu
    Copy the full SHA
    9b1a09d View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2020

  1. Configuration menu
    Copy the full SHA
    648aaec View commit details
    Browse the repository at this point in the history
Loading
0