mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 05:30:07 -05:00
write waiter handling cleanup
Follow on to commit 88d22a1ca3
Remove dead code
This commit is contained in:
parent
ea1eb19303
commit
a32cab8b72
2 changed files with 0 additions and 4 deletions
|
|
@ -2929,8 +2929,6 @@ struct Connection {
|
|||
|
||||
ldap_pvt_thread_mutex_t c_write1_mutex; /* only one pdu written at a time */
|
||||
ldap_pvt_thread_cond_t c_write1_cv; /* only one pdu written at a time */
|
||||
ldap_pvt_thread_mutex_t c_write2_mutex; /* used to wait for sd write-ready */
|
||||
ldap_pvt_thread_cond_t c_write2_cv; /* used to wait for sd write-ready*/
|
||||
|
||||
BerElement *c_currentber; /* ber we're attempting to read */
|
||||
int c_writers; /* number of writers waiting */
|
||||
|
|
|
|||
|
|
@ -225,9 +225,7 @@ slapi_int_connection_init_pb( Slapi_PBlock *pb, ber_tag_t tag )
|
|||
/* should check status of thread calls */
|
||||
ldap_pvt_thread_mutex_init( &conn->c_mutex );
|
||||
ldap_pvt_thread_mutex_init( &conn->c_write1_mutex );
|
||||
ldap_pvt_thread_mutex_init( &conn->c_write2_mutex );
|
||||
ldap_pvt_thread_cond_init( &conn->c_write1_cv );
|
||||
ldap_pvt_thread_cond_init( &conn->c_write2_cv );
|
||||
|
||||
ldap_pvt_thread_mutex_lock( &conn->c_mutex );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue