mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
As observed by @kkebo, this was missing from the implementation. ### Motivation: Correct pthread API usage. ### Modifications: Initialize the pthread_mutexattr_t with pthread_mutexattr_init before passed to pthread_mutex_init. ### Result: Even though this lock API appears to be deprecated, we'll correct the usage anyway. The non-deprecated NIOLock class doesn't have this problem.