Commit 777b8481 authored by Mark Andrews's avatar Mark Andrews
Browse files

2998. [func] Add isc_task_beginexclusive and isc_task_endexclusive

                        to the task api. [RT #22776]
parent 0f6c33ad
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: task.h,v 1.68 2010/12/04 22:27:29 marka Exp $ */
/* $Id: task.h,v 1.69 2010/12/22 13:05:20 marka Exp $ */
#ifndef ISC_TASK_H
#define ISC_TASK_H 1
......@@ -125,6 +125,8 @@ typedef struct isc_taskmethods {
unsigned int (*purgerange)(isc_task_t *task, void *sender,
isc_eventtype_t first, isc_eventtype_t last,
void *tag);
isc_result_t (*beginexclusive)(isc_task_t *task);
void (*endexclusive)(isc_task_t *task);
} isc_taskmethods_t;
/*%
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment