mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
initalise sock->cond
This commit is contained in:
parent
4efd1e2ac8
commit
0f6ae9000a
1 changed files with 1 additions and 0 deletions
|
|
@ -1485,6 +1485,7 @@ isc___nmsocket_init(isc_nmsocket_t *sock, isc_nm_t *mgr, isc_nmsocket_type type,
|
|||
}
|
||||
|
||||
isc_mutex_init(&sock->lock);
|
||||
isc_condition_init(&sock->cond);
|
||||
isc_condition_init(&sock->scond);
|
||||
isc_refcount_init(&sock->references, 1);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue