51.11. slapi_task_inc_refcount()

Increments the task reference count.
Reference counts are used by tasks which initiate multiple threads. Using slapi_task_inc_refcount() ensures that all threads are done before freeing any shared data.
Syntax

void slapi_task_inc_refcount(Slapi_Task *task)

Parameters

This function takes the following parameter:

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