Weebly / Cereal

Swift object serialization
BSD 3-Clause "New" or "Revised" License
369 stars 13 forks source link

Fix thread safety issue #20

Closed Sega-Zero closed 8 years ago

Sega-Zero commented 8 years ago

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.