Lines Matching defs:priority
315 * Run function before main() with high priority.
336 #define CTOR_PRIORITY_TO_SECTION(priority) CTOR_SECTION_ ## priority
338 #define RTE_INIT_PRIO(name, priority) \
341 __pragma(const_seg(CTOR_PRIORITY_TO_SECTION(priority))) \
342 __declspec(allocate(CTOR_PRIORITY_TO_SECTION(priority))) \
350 * Run function before main() with low priority.
361 * Run after main() with low priority.
379 #define DTOR_PRIORITY_TO_SECTION(priority) DTOR_SECTION_ ## priority
381 #define RTE_FINI_PRIO(name, priority) \
383 __pragma(const_seg(DTOR_PRIORITY_TO_SECTION(priority))) \
384 __declspec(allocate(DTOR_PRIORITY_TO_SECTION(priority))) void *name ## _pointer = &name; \
391 * Run after main() with high priority.