-({ \
- static typeof (func) *sym = NULL; \
- static pthread_once_t once = PTHREAD_ONCE_INIT; \
- auto void getsym_once (void); \
- void getsym_once (void) \
- { \
- sym = getsym ( # func); \
- } \
- pthread_once (&once, getsym_once); \
- sym (__VA_ARGS__); \
-})
-