Caught a fatalError during mutating a private capacity info array from a several queues. So, I realized I wrote a totally thread unsafe block of code. This pull-request should fix this.
Plus added few minor changes to sample code and serialization code.
Caught a fatalError during mutating a private capacity info array from a several queues. So, I realized I wrote a totally thread unsafe block of code. This pull-request should fix this. Plus added few minor changes to sample code and serialization code.