func addStudent(_ student: Student) {
concurrentStudentQueue.async(flags: .barrier) {
self._students.append(student)
DispatchQueue.main.async { //
self.postContentAddedNotification()
}
}
}
The code will ensure that the submitted DispatchWorkItem will be executed in parallel with any other DispatchWorkItem in the same queue.
Correct Answer: False
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Swift MCQ Questions