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.6.3
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
  • 11 commits
  • 28 files changed
  • 4 contributors

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
    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