Skip to content

Commit

Permalink
Fixes a typo.
Browse files Browse the repository at this point in the history
This commits fixes a typo where the word nondeterministic was spelled
nondetermininstic.
  • Loading branch information
r-mckay authored and kzaher committed Jun 13, 2017
1 parent f60363c commit caec217
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RxSwift/Rx.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ func decrementChecked(_ i: inout Int) throws -> Int {
private let _lock = RecursiveLock()

public enum SychronizationErrorMessages: String {
case variable = "Two different threads are trying to assign the same `Variable.value` unsynchronized.\n This is undefined behavior because the end result (variable value) is nondetermininstic and depends on the \n operating system thread scheduler. This will cause random behavior of your program.\n"
case `default` = "Two different unsynchronized threads are trying to send some event simultaneously.\n This is undefined behavior because the ordering of the effects caused by these events is nondetermininstic and depends on the \n operating system thread scheduler. This will result in a random behavior of your program.\n"
case variable = "Two different threads are trying to assign the same `Variable.value` unsynchronized.\n This is undefined behavior because the end result (variable value) is nondeterministic and depends on the \n operating system thread scheduler. This will cause random behavior of your program.\n"
case `default` = "Two different unsynchronized threads are trying to send some event simultaneously.\n This is undefined behavior because the ordering of the effects caused by these events is nondeterministic and depends on the \n operating system thread scheduler. This will result in a random behavior of your program.\n"
}

private var _threads = Dictionary<UnsafeMutableRawPointer, Int>()
Expand Down

0 comments on commit caec217

Please sign in to comment.