EPERM — the operation isn't permitted; you don't have permission to access the specified resource.
不允许执行此操作;您不具有访问指定资源的权限。
2
And you should never unlock a mutex that you don't hold a lock for (otherwise, the pthread_mutex_unlock call will fail with a non-zero EPERM return value).