Skip to content

Foundation API Conformance Update: Locking #545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 15, 2016

Conversation

itaiferber
Copy link
Contributor

Changes

  • LockingNSLocking

Lock

  • LockNSLock
  • tryLock()try()

ConditionLock

  • ConditionLockNSConditionLock
  • lockWhenCondition(_ condition: Int)lock(whenCondition condition: Int)
  • tryLock()try()
  • tryLockWhenCondition(_ condition: Int)tryLock(whenCondition condition: Int)
  • unlockWithCondition(_ condition: Int)unlock(withCondition condition: Int)
  • lockBeforeDate(_ limit: Date)lock(before limit: Date)
  • lockWhenCondition(_ condition: Int, beforeDate limit: Date)lock(whenCondition condition: Int, before limit: Date)

RecursiveLock

  • RecursiveLockNSRecursiveLock
  • tryLock()try()

Condition

  • ConditionNSCondition
  • waitUntilDate(_ limit: Date)wait(until limit: Date)

Additional changes across files which use these classes.

@itaiferber
Copy link
Contributor Author

@swift-ci Please test

@itaiferber
Copy link
Contributor Author

Requires swiftlang/swift-package-manager#607

@parkera
Copy link
Contributor

parkera commented Aug 15, 2016

I'll merge these together; tested manually.

@parkera parkera merged commit b697c53 into swiftlang:master Aug 15, 2016
@itaiferber itaiferber deleted the pr-locking branch August 22, 2016 16:39
kateinoigakukun added a commit to kateinoigakukun/swift-corelibs-foundation that referenced this pull request Oct 11, 2023
Compile more of FileHandle.swift for IO functionality
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants