Skip to content

Instantly share code, notes, and snippets.

Vitaly Korobchuk korvit

  • University of Padua
  • Padua,Italy
Block or report user

Report or block korvit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View CustomSemiAtomicDictionary.swift
struct TreadSafeDict<Key:Hashable, Element> {
let queue = DispatchQueue(label: "thread-safe-queue")
typealias DictionaryType = [Key : Element]
private var _elements = DictionaryType()
init(elements: DictionaryType) {
queue.sync {
You can’t perform that action at this time.