Show Table of Contents
51.3. slapi_task_begin()
Updates the task entry state to indicate that the task is running. Call this as soon as necessary to begin performing the work for the custom task.
Syntax
void slapi_task_begin(Slapi_Task *task, int total_work)
Parameters
This function takes the following parameters:
| task | Points to the task operation which is being performed by the server. |
| total_work | Gives the total number of work items needed to complete the task. This can be used to update the task status with partial progress as the task runs. |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.