51.8. slapi_task_get_refcount()

Checks the current reference count of the task. Reference counts are used by tasks that open multiple threads; slapi_task_get_refcount() checks to see if any or all of the threads have finished and allows any shared data to be freed safely.
Syntax

int slapi_task_get_refcount(Slapi_Task *task)

Parameters

This function takes the following parameter:

task Points to the task operation which is being performed by the server.