mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:37:35 +00:00
Kernel: Assign Lock names in class member initializers.
This commit is contained in:
parent
2dc72bb297
commit
c3b7ace3e0
12 changed files with 11 additions and 18 deletions
|
@ -19,8 +19,7 @@ KResultOr<Retained<Socket>> Socket::create(int domain, int type, int protocol)
|
|||
}
|
||||
|
||||
Socket::Socket(int domain, int type, int protocol)
|
||||
: m_lock("Socket")
|
||||
, m_domain(domain)
|
||||
: m_domain(domain)
|
||||
, m_type(type)
|
||||
, m_protocol(protocol)
|
||||
{
|
||||
|
|
|
@ -60,7 +60,7 @@ protected:
|
|||
void load_send_deadline();
|
||||
|
||||
private:
|
||||
Lock m_lock;
|
||||
Lock m_lock { "Socket" };
|
||||
pid_t m_origin_pid { 0 };
|
||||
int m_domain { 0 };
|
||||
int m_type { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue