Mr-Markus / ZigbeeNet

A .NET Standard library for working with ZigBee
Eclipse Public License 1.0
131 stars 47 forks source link

Threadsafty #2

Closed nicolaiw closed 6 years ago

nicolaiw commented 6 years ago

Use Threadsafe enumeration for the queue

https://github.com/Mr-Markus/ZigbeeNet/blob/12d61ee1416e4cf8d8b7e06aa8aaef7ea7e8475f/src/ZigbeeNet.CCZnp/CCZnp.cs#L28

Mr-Markus commented 6 years ago

Threadsafe ConcurrentQueue used. Thanks!