1 /* Copyright (c) 2011. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
10 static void smpi_free_static(int status, void* arg) {
14 void smpi_register_static(void* arg) {
18 // On Apple this error occurs:
19 // Undefined symbols for architecture x86_64:
20 // "_on_exit", referenced from:
21 // _smpi_register_static in smpi_c99.c.o
22 on_exit(&smpi_free_static, arg);