swift - Best location to define Semaphores, DispatchQueues and DispatchGroups -
how share semaphores, dispatchqueues , dispatchgroups?
i can pass them while using or define them in shared location.
which 1 better , normal way?
is there better way?
update:
there semaphore 2 threads want use it. (one consumer , producer)
where define semaphore?
Comments
Post a Comment