Lines Matching refs:pfnOnce
78 /** The return code of pfnOnce. */
131 * Serializes execution of the pfnOnce function, making sure it's
135 * @returns IPRT like status code returned by pfnOnce.
138 * @param pfnOnce The function to executed once.
141 * @param pvUser The user parameter for pfnOnce.
143 RTDECL(int) RTOnceSlow(PRTONCE pOnce, PFNRTONCE pfnOnce, FNRTONCECLEANUP pfnCleanUp, void *pvUser);
146 * Serializes execution of the pfnOnce function, making sure it's
150 * @returns IPRT like status code returned by pfnOnce.
153 * @param pfnOnce The function to executed once.
154 * @param pvUser The user parameter for pfnOnce.
156 DECLINLINE(int) RTOnce(PRTONCE pOnce, PFNRTONCE pfnOnce, void *pvUser)
163 return RTOnceSlow(pOnce, pfnOnce, NULL, pvUser);
167 * Execute pfnOnce once and register a termination clean-up callback.
169 * Serializes execution of the pfnOnce function, making sure it's
173 * @returns IPRT like status code returned by pfnOnce.
176 * @param pfnOnce The function to executed once.
178 * @param pvUser The user parameter for pfnOnce.
180 DECLINLINE(int) RTOnceEx(PRTONCE pOnce, PFNRTONCE pfnOnce, PFNRTONCECLEANUP pfnCleanUp, void *pvUser)
187 return RTOnceSlow(pOnce, pfnOnce, pfnCleanUp, pvUser);