MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / ff_thread_once

Function ff_thread_once

libavutil/thread.h:205–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203#define AV_ONCE_INIT 0
204
205static inline int ff_thread_once(char *control, void (*routine)(void))
206{
207 if (!*control) {
208 routine();
209 *control = 1;
210 }
211 return 0;
212}
213
214#endif
215

Callers 15

ff_kperf_initFunction · 0.85
TX_TAB(ff_tx_init_tabs)Function · 0.85
av_aes_initFunction · 0.85
d3d11va_device_createFunction · 0.85
dolby_e_initFunction · 0.85
atrac3p_decode_initFunction · 0.85
mp_decode_initFunction · 0.85
av_codec_iterateFunction · 0.85
ff_ccitt_unpack_initFunction · 0.85
rv60_decode_initFunction · 0.85
mpc7_decode_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected