ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
The possible solutions can be1. Using serial queues - Use a serial queue inside the concurrentPerform 2. Using NSLock - something like this lock.lock() print (array) let last = (array.last ?? 0) + 1 array.append(last) lock.unlock()
it will more help full if you also add DS questions ☺️
Thanks for the comment. Let me try and do it. Sorry, I have not been quite active these days.
@@appgenie no issue bro 👍
And what is the solution?Using serial queues? Or Actors?
superb content
can you explain more example
The possible solutions can be
1. Using serial queues - Use a serial queue inside the concurrentPerform
2. Using NSLock - something like this
lock.lock()
print (array)
let last = (array.last ?? 0) + 1
array.append(last)
lock.unlock()
it will more help full if you also add DS questions ☺️
Thanks for the comment. Let me try and do it. Sorry, I have not been quite active these days.
@@appgenie no issue bro 👍
And what is the solution?
Using serial queues? Or Actors?
superb content
can you explain more example