1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:07:34 +00:00

LibThread: Fix formatting that was broken by the previous commit

This commit is contained in:
Gunnar Beutner 2021-07-06 00:14:19 +02:00
parent 01db5205ab
commit f3a3a63b68

View file

@ -14,12 +14,13 @@ namespace Threading {
class Lock { class Lock {
public: public:
Lock() { Lock()
{
#ifndef __serenity__ #ifndef __serenity__
pthread_mutexattr_t attr; pthread_mutexattr_t attr;
pthread_mutexattr_init(&attr); pthread_mutexattr_init(&attr);
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
pthread_mutex_init(&m_mutex, &attr); pthread_mutex_init(&m_mutex, &attr);
#endif #endif
} }
~Lock() { } ~Lock() { }