X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9932a0c0d2c44e34633c97a827b2b04d615cb4e9..40009f8e8e7678d8e600c77d7e269181ee8a1145:/teshsuite/msg/storage/concurrent_rw.c diff --git a/teshsuite/msg/storage/concurrent_rw.c b/teshsuite/msg/storage/concurrent_rw.c index 592715a8da..c3c02d7c8a 100644 --- a/teshsuite/msg/storage/concurrent_rw.c +++ b/teshsuite/msg/storage/concurrent_rw.c @@ -1,6 +1,8 @@ -/* Copyright (c) 2008-2010, 2012-2014. The SimGrid Team. - * All rights reserved. -*/ +/* Copyright (c) 2008-2010, 2012-2015. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ #include "simgrid/msg.h" #include "xbt/log.h" @@ -116,16 +118,16 @@ int main(int argc, char **argv) MSG_create_environment(argv[1]); MSG_function_register("host", host); - storage_info(MSG_get_host_by_name(xbt_strdup("host"))); + storage_info(MSG_host_by_name(xbt_strdup("host"))); for(i = 0 ; i<10; i++){ - MSG_process_create(xbt_strdup("host"), host, NULL, MSG_get_host_by_name(xbt_strdup("host"))); + MSG_process_create(xbt_strdup("host"), host, NULL, MSG_host_by_name(xbt_strdup("host"))); } res = MSG_main(); - storage_info(MSG_get_host_by_name(xbt_strdup("host"))); + storage_info(MSG_host_by_name(xbt_strdup("host"))); XBT_INFO("Simulation time %g", MSG_get_clock()); if (res == MSG_OK)