mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
mutexblock, not just mutex. Duh.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
isc_result_t
|
||||
isc_mutex_initblock(isc_mutex_t *block, unsigned int count);
|
||||
isc_mutexblock_initblock(isc_mutex_t *block, unsigned int count);
|
||||
/*
|
||||
* Initialize a block of locks. If an error occurs all initialized locks
|
||||
* will be destroyed, if possible.
|
||||
@@ -43,7 +43,7 @@ isc_mutex_initblock(isc_mutex_t *block, unsigned int count);
|
||||
*/
|
||||
|
||||
isc_result_t
|
||||
isc_mutex_destroyblock(isc_mutex_t *block, unsigned int count);
|
||||
isc_mutexblock_destroyblock(isc_mutex_t *block, unsigned int count);
|
||||
/*
|
||||
* Destroy a block of locks.
|
||||
*
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#include <isc/mutexblock.h>
|
||||
|
||||
isc_result_t
|
||||
isc_mutex_initblock(isc_mutex_t *block, unsigned int count)
|
||||
isc_mutexblock_initblock(isc_mutex_t *block, unsigned int count)
|
||||
{
|
||||
isc_result_t result;
|
||||
unsigned int i;
|
||||
@@ -42,7 +42,7 @@ isc_mutex_initblock(isc_mutex_t *block, unsigned int count)
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
isc_mutex_destroyblock(isc_mutex_t *block, unsigned int count)
|
||||
isc_mutexblock_destroyblock(isc_mutex_t *block, unsigned int count)
|
||||
{
|
||||
isc_result_t result;
|
||||
unsigned int i;
|
||||
|
Reference in New Issue
Block a user