Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix copyright headers
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 25 Apr 2010 22:14:24 +0000 (22:14 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 25 Apr 2010 22:14:24 +0000 (22:14 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7646 48e7efb5-ca39-0410-a469-dd3cf9ba447f

415 files changed:
buildtools/Cmake/prog_test/prog_AC_CHECK_MCSC.c
buildtools/Cmake/prog_test/prog_GRAS_ARCH.c
buildtools/Cmake/prog_test/prog_GRAS_CHECK_STRUCT_COMPACTION.c
buildtools/Cmake/prog_test/prog_getline.c
buildtools/Cmake/prog_test/prog_max_size.c
buildtools/Cmake/prog_test/prog_mutex_timedlock.c
buildtools/Cmake/prog_test/prog_printf_null.c
buildtools/Cmake/prog_test/prog_sem_init.c
buildtools/Cmake/prog_test/prog_sem_timedwait.c
buildtools/Cmake/prog_test/prog_snprintf.c
buildtools/Cmake/prog_test/prog_stackgrowth.c
buildtools/Cmake/prog_test/prog_stacksetup.c
buildtools/Cmake/prog_test/prog_va_copy.c
buildtools/Cmake/prog_test/prog_vsnprintf.c
doc/gtut-files/01-bones.c
doc/gtut-files/02-simple.c
doc/gtut-files/03-args.c
doc/gtut-files/04-callback.c
doc/gtut-files/05-globals.c
doc/gtut-files/06-logs.c
doc/gtut-files/07-timers.c
doc/gtut-files/08-exceptions.c
doc/gtut-files/09-datatype-dump.c
doc/gtut-files/09-simpledata.c
doc/gtut-files/10-rpc.c
doc/gtut-files/11-explicitwait.c
examples/amok/alnem/alnem.c
examples/amok/alnem/alnem_builder.c
examples/amok/bandwidth/bandwidth.c
examples/amok/saturate/env.c
examples/amok/saturate/saturate.c
examples/gras/all2all/all2all.c
examples/gras/chrono/chrono.c
examples/gras/chrono/chrono2.c
examples/gras/mmrpc/mmrpc.c
examples/gras/mmrpc/mmrpc.h
examples/gras/mmrpc/mmrpc_client.c
examples/gras/mmrpc/mmrpc_common.c
examples/gras/mmrpc/mmrpc_server.c
examples/gras/mutual_exclusion/simple_token/simple_token.c
examples/gras/p2p/can/can.c
examples/gras/p2p/can/can_tests.c
examples/gras/p2p/can/types.h
examples/gras/p2p/chord/chord.c
examples/gras/ping/ping.h
examples/gras/ping/ping_client.c
examples/gras/ping/ping_common.c
examples/gras/ping/ping_server.c
examples/gras/pmm/pmm.c
examples/gras/properties/properties.c
examples/gras/replay/replay.c
examples/gras/replay/workload.h
examples/gras/replay/xbt_workload.c
examples/gras/rpc/rpc.c
examples/gras/spawn/spawn.h
examples/gras/spawn/spawn_child.c
examples/gras/spawn/spawn_common.c
examples/gras/spawn/spawn_father.c
examples/gras/synchro/philosopher.c
examples/gras/timer/timer.c
examples/msg/actions/actions.c
examples/msg/alias/masterslave_forwarder_with_alias.c
examples/msg/gtnets/gtnets.c
examples/msg/masterslave/masterslave_bypass.c
examples/msg/masterslave/masterslave_failure.c
examples/msg/masterslave/masterslave_forwarder.c
examples/msg/masterslave/masterslave_mailbox.c
examples/msg/migration/migration.c
examples/msg/parallel_task/parallel_task.c
examples/msg/parallel_task/test_ptask.c
examples/msg/priority/priority.c
examples/msg/properties/msg_prop.c
examples/msg/sendrecv/sendrecv.c
examples/msg/suspend/suspend.c
examples/msg/trace/test_trace_integration.c
examples/msg/tracing/categories.c
examples/msg/tracing/ms.c
examples/simdag/dax/dax_test.c
examples/simdag/metaxml/sd_meta.c
examples/simdag/properties/sd_prop.c
examples/simdag/sd_test.c
examples/simdag/sd_test2.c
examples/smpi/alltoall_basic.c
examples/smpi/barrier.c
examples/smpi/bcast.c
examples/smpi/bcbench.c
examples/smpi/compute.c
examples/smpi/compute2.c
examples/smpi/compute3.c
examples/smpi/get_processor_name.c
examples/smpi/mvmul.c
examples/smpi/pingpong.c
examples/smpi/sendrecv.c
examples/smpi/split.c
examples/xbt/sem_basic.c
examples/xbt/sem_sched.c
include/amok/bandwidth.h
include/amok/base.h
include/amok/peermanagement.h
include/gras.h
include/gras/datadesc.h
include/gras/emul.h
include/gras/messages.h
include/gras/module.h
include/gras/process.h
include/gras/timer.h
include/gras/transport.h
include/gras/virtu.h
include/instr/instr.h
include/msg/datatypes.h
include/msg/msg.h
include/simdag/datatypes.h
include/simdag/simdag.h
include/smpi/mpi.h
include/smpi/smpi.h
include/surf/surfxml_parse.h
include/xbt.h
include/xbt/asserts.h
include/xbt/config.h
include/xbt/cunit.h
include/xbt/dict.h
include/xbt/dynar.h
include/xbt/fifo.h
include/xbt/function_types.h
include/xbt/graph.h
include/xbt/graphxml_parse.h
include/xbt/hash.h
include/xbt/heap.h
include/xbt/log.h
include/xbt/mallocator.h
include/xbt/matrix.h
include/xbt/misc.h
include/xbt/module.h
include/xbt/peer.h
include/xbt/queue.h
include/xbt/set.h
include/xbt/str.h
include/xbt/strbuff.h
include/xbt/swag.h
include/xbt/synchro.h
include/xbt/synchro_core.h
include/xbt/sysdep.h
include/xbt/time.h
include/xbt/virtu.h
src/amok/Bandwidth/bandwidth.c
src/amok/Bandwidth/bandwidth_private.h
src/amok/Bandwidth/saturate.c
src/amok/PeerManagement/peermanagement.c
src/amok/amok_base.c
src/amok/amok_modinter.h
src/bindings/lua/simgrid_lua.c
src/bindings/ruby/rb_application_handler.c
src/bindings/ruby/rb_msg_host.c
src/bindings/ruby/rb_msg_process.c
src/bindings/ruby/rb_msg_task.c
src/bindings/ruby/simgrid_ruby.c
src/bindings/rubyDag/rb_SD_task.c
src/bindings/rubyDag/rb_SD_task.h
src/bindings/rubyDag/rb_SD_workstation.c
src/bindings/rubyDag/rb_SD_workstation.h
src/bindings/rubyDag/rb_simdag.c
src/bindings/ruby_bindings.h
src/gras/DataDesc/cbps.c
src/gras/DataDesc/datadesc.c
src/gras/DataDesc/datadesc_interface.h
src/gras/DataDesc/datadesc_private.h
src/gras/DataDesc/ddt_convert.c
src/gras/DataDesc/ddt_create.c
src/gras/DataDesc/ddt_exchange.c
src/gras/DataDesc/ddt_parse.c
src/gras/DataDesc/ddt_parse.yy.c
src/gras/DataDesc/ddt_parse.yy.h
src/gras/DataDesc/ddt_parse.yy.l
src/gras/Msg/gras_msg_exchange.c
src/gras/Msg/gras_msg_listener.c
src/gras/Msg/gras_msg_mod.c
src/gras/Msg/gras_msg_types.c
src/gras/Msg/msg_interface.h
src/gras/Msg/msg_private.h
src/gras/Msg/rl_msg.c
src/gras/Msg/rpc.c
src/gras/Msg/sg_msg.c
src/gras/Msg/timer.c
src/gras/Transport/rl_transport.c
src/gras/Transport/sg_transport.c
src/gras/Transport/transport.c
src/gras/Transport/transport_interface.h
src/gras/Transport/transport_plugin_file.c
src/gras/Transport/transport_plugin_sg.c
src/gras/Transport/transport_plugin_tcp.c
src/gras/Transport/transport_private.h
src/gras/Virtu/gras_module.c
src/gras/Virtu/process.c
src/gras/Virtu/rl_dns.c
src/gras/Virtu/rl_emul.c
src/gras/Virtu/rl_process.c
src/gras/Virtu/sg_dns.c
src/gras/Virtu/sg_emul.c
src/gras/Virtu/sg_process.c
src/gras/Virtu/virtu_interface.h
src/gras/Virtu/virtu_private.h
src/gras/Virtu/virtu_rl.h
src/gras/Virtu/virtu_sg.h
src/gras/gras.c
src/gras/rl_stubs.c
src/gras_modinter.h
src/include/simix/context.h
src/include/simix/datatypes.h
src/include/simix/simix.h
src/include/surf/datatypes.h
src/include/surf/maxmin.h
src/include/surf/random_mgr.h
src/include/surf/surf.h
src/include/surf/surf_resource.h
src/include/surf/surf_resource_lmm.h
src/include/surf/surfxml_parse_private.h
src/include/surf/trace_mgr.h
src/include/xbt/xbt_os_thread.h
src/include/xbt/xbt_os_time.h
src/instr/general.c
src/instr/interface.c
src/instr/msg_process_instr.c
src/instr/msg_task_instr.c
src/instr/paje.c
src/instr/private.h
src/instr/smx_instr.c
src/instr/surf_instr.c
src/instr/variables_instr.c
src/java/jmsg.c
src/java/jmsg.h
src/java/jmsg_application_handler.c
src/java/jmsg_application_handler.h
src/java/jmsg_host.c
src/java/jmsg_host.h
src/java/jmsg_process.c
src/java/jmsg_process.h
src/java/jmsg_task.c
src/java/jmsg_task.h
src/java/jxbt_utilities.c
src/java/jxbt_utilities.h
src/msg/deployment.c
src/msg/environment.c
src/msg/global.c
src/msg/gos.c
src/msg/host.c
src/msg/m_process.c
src/msg/mailbox.h
src/msg/msg_actions.c
src/msg/msg_config.c
src/msg/private.h
src/msg/task.c
src/portable.h
src/simdag/private.h
src/simdag/sd_daxloader.c
src/simdag/sd_global.c
src/simdag/sd_link.c
src/simdag/sd_task.c
src/simdag/sd_workstation.c
src/simix/private.h
src/simix/smx_action.c
src/simix/smx_context.c
src/simix/smx_context_base.c
src/simix/smx_context_java.c
src/simix/smx_context_java.h
src/simix/smx_context_lua.c
src/simix/smx_context_private.h
src/simix/smx_context_ruby.c
src/simix/smx_context_sysv.c
src/simix/smx_context_sysv_private.h
src/simix/smx_context_thread.c
src/simix/smx_deployment.c
src/simix/smx_environment.c
src/simix/smx_global.c
src/simix/smx_host.c
src/simix/smx_network.c
src/simix/smx_process.c
src/simix/smx_synchro.c
src/smpi/private.h
src/smpi/sample/reduce.c
src/smpi/smpi_base.c
src/smpi/smpi_bench.c
src/smpi/smpi_coll.c
src/smpi/smpi_coll_private.h
src/smpi/smpi_comm.c
src/smpi/smpi_global.c
src/smpi/smpi_group.c
src/smpi/smpi_mpi.c
src/smpi/smpi_mpi_dt.c
src/smpi/smpi_mpi_dt_private.h
src/smpi/smpi_util.c
src/surf/cpu.c
src/surf/cpu_im.c
src/surf/cpu_ti.c
src/surf/cpu_ti_private.h
src/surf/fair_bottleneck.c
src/surf/gtnets/gtnets_interface.h
src/surf/gtnets/gtnets_simulator.h
src/surf/gtnets/gtnets_topology.h
src/surf/lagrange.c
src/surf/maxmin.c
src/surf/maxmin_private.h
src/surf/network.c
src/surf/network_constant.c
src/surf/network_gtnets.c
src/surf/network_gtnets_private.h
src/surf/network_private.h
src/surf/network_vivaldi.c
src/surf/random_mgr.c
src/surf/surf.c
src/surf/surf_action.c
src/surf/surf_config.c
src/surf/surf_model.c
src/surf/surf_model_timer.c
src/surf/surf_private.h
src/surf/surf_routing.c
src/surf/surfxml_parse.c
src/surf/trace_mgr.c
src/surf/trace_mgr_private.h
src/surf/workstation.c
src/surf/workstation_ptask_L07.c
src/win32/compiler/borland.h
src/win32/compiler/select_compiler_features.h
src/win32/compiler/visualc.h
src/win32/config.h
src/win32/platform/select_platform_features.h
src/xbt/asserts.c
src/xbt/backtrace_dummy.c
src/xbt/backtrace_linux.c
src/xbt/backtrace_windows.c
src/xbt/config.c
src/xbt/cunit.c
src/xbt/dict.c
src/xbt/dict_cursor.c
src/xbt/dict_elm.c
src/xbt/dict_multi.c
src/xbt/dict_private.h
src/xbt/dynar.c
src/xbt/error.c
src/xbt/ex_interface.h
src/xbt/fifo.c
src/xbt/fifo_private.h
src/xbt/graph.c
src/xbt/graph_private.h
src/xbt/graphxml_parse.c
src/xbt/heap.c
src/xbt/heap_private.h
src/xbt/log.c
src/xbt/log_private.h
src/xbt/mallocator.c
src/xbt/mallocator_private.h
src/xbt/set.c
src/xbt/swag.c
src/xbt/xbt_log_appender_file.c
src/xbt/xbt_log_layout_format.c
src/xbt/xbt_log_layout_simple.c
src/xbt/xbt_main.c
src/xbt/xbt_matrix.c
src/xbt/xbt_os_thread.c
src/xbt/xbt_os_time.c
src/xbt/xbt_peer.c
src/xbt/xbt_queue.c
src/xbt/xbt_rl_synchro.c
src/xbt/xbt_rl_time.c
src/xbt/xbt_sg_stubs.c
src/xbt/xbt_sg_synchro.c
src/xbt/xbt_sg_time.c
src/xbt/xbt_sha.c
src/xbt/xbt_str.c
src/xbt/xbt_strbuff.c
src/xbt/xbt_synchro.c
src/xbt/xbt_virtu.c
src/xbt_modinter.h
teshsuite/gras/datadesc/datadesc_usage.c
teshsuite/gras/empty_main/empty_main.c
teshsuite/gras/msg_handle/msg_handle.c
teshsuite/gras/small_sleep/small_sleep.c
teshsuite/msg/get_sender.c
teshsuite/simdag/basic0.c
teshsuite/simdag/basic1.c
teshsuite/simdag/basic2.c
teshsuite/simdag/basic3.c
teshsuite/simdag/basic4.c
teshsuite/simdag/basic5.c
teshsuite/simdag/basic6.c
teshsuite/simdag/network/mxn/test_intra_all2all.c
teshsuite/simdag/network/mxn/test_intra_independent_comm.c
teshsuite/simdag/network/mxn/test_intra_scatter.c
teshsuite/simdag/network/p2p/test_latency1.c
teshsuite/simdag/network/p2p/test_latency2.c
teshsuite/simdag/network/p2p/test_latency3.c
teshsuite/simdag/network/p2p/test_latency_bound.c
teshsuite/simdag/network/test_reinit_costs.c
teshsuite/simdag/partask/test_comp_only_par.c
teshsuite/simdag/partask/test_comp_only_seq.c
teshsuite/simdag/platforms/basic_parsing_test.c
teshsuite/simdag/platforms/flatifier.c
teshsuite/xbt/log_large_test.c
teshsuite/xbt/parallel_log_crashtest.c
testsuite/simdag/sd_test.c
testsuite/surf/lmm_usage.c
testsuite/surf/maxmin_bench.c
testsuite/surf/surf_usage.c
testsuite/surf/surf_usage2.c
testsuite/surf/trace_usage.c
testsuite/xbt/graphxml_usage.c
testsuite/xbt/heap_bench.c
testsuite/xbt/log_usage.c
tools/gras/stub_generator.c
tools/tesh/run_context.c
tools/tesh/run_context.h
tools/tesh/signal.c
tools/tesh/tesh.c
tools/tesh/tesh.h
win32_testsuite/borland/builder6/realistic/gras/datadesc_usage/datadesc_usage.c
win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.c

index 4cd27ed..6e5c147 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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 <stdio.h>
 #include <stdlib.h>
 #include <ucontext.h>
index 9214324..52b03af 100644 (file)
@@ -1,5 +1,11 @@
 //This programme check size of datatypes 
 
+/* Copyright (c) 2010. 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 <sys/types.h>
 #include <stdio.h>
 
index e8ba5c7..059941d 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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 <sys/types.h>
 #include <stddef.h> /* offsetof() */
 #include <stdio.h>
index 000ee7f..81a257f 100644 (file)
@@ -1,8 +1,14 @@
-    #define _GNU_SOURCE
-    #include <stdio.h>
-    int main(void){
-      FILE * fp;
-      char * line = NULL;
-      size_t len = 0;
-      getline(&line, &len, fp);
-    }
+/* Copyright (c) 2010. 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. */
+
+#define _GNU_SOURCE
+#include <stdio.h>
+int main(void){
+   FILE * fp;
+   char * line = NULL;
+   size_t len = 0;
+   getline(&line, &len, fp);
+}
index 9ffd94c..d89e76d 100644 (file)
@@ -1,5 +1,12 @@
 //This programme check size of datatypes 
 
+/* Copyright (c) 2010. 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 <sys/types.h>
 #include <stdio.h>
 
index 7e49494..c3eb72d 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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 <pthread.h>
 
 void main (void)
index da2595a..473d6c5 100644 (file)
@@ -1,2 +1,8 @@
+/* Copyright (c) 2010. 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 <stdio.h>
 printf("%s",NULL);
index 6139c34..f4d3038 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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 <semaphore.h>
 
 void main(void)
index a4349e0..58876f6 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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 <semaphore.h>
 
 int main()
index f24eb7c..a33c846 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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 <stdio.h>
 
 int main(void)
index b69f6de..c1a9e78 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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 <stdio.h>
 #include <stdlib.h>
 static int iterate = 10;
index 7b128a5..102645e 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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. */
+
 #if defined OSX
 #define _XOPEN_SOURCE
 #endif
index d0797ae..82800eb 100644 (file)
@@ -1,28 +1,34 @@
+/* Copyright (c) 2010. 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 <stdlib.h>
-       #include <stdarg.h>
-       #include <string.h>
-       #define DO_VA_COPY(d,s) memcpy((void *)(d), (void *)(s)), sizeof(*(s))
-       void test(char *str, ...)
-       {
-           va_list ap, ap2;
-           int i;
-           va_start(ap, str);
-           DO_VA_COPY(ap2, ap);
-           for (i = 1; i <= 9; i++) {
-               int k = (int)va_arg(ap, int);
-               if (k != i)
-                   abort();
-           }
-           DO_VA_COPY(ap, ap2);
-           for (i = 1; i <= 9; i++) {
-               int k = (int)va_arg(ap, int);
-               if (k != i)
-                   abort();
-           }
-           va_end(ap);
-       }
-       int main(int argc, char *argv[])
-       {
-           test(test, 1, 2, 3, 4, 5, 6, 7, 8, 9);
-           exit(0);
-       }
+#include <stdarg.h>
+#include <string.h>
+#define DO_VA_COPY(d,s) memcpy((void *)(d), (void *)(s)), sizeof(*(s))
+void test(char *str, ...)
+{
+   va_list ap, ap2;
+   int i;
+   va_start(ap, str);
+   DO_VA_COPY(ap2, ap);
+   for (i = 1; i <= 9; i++) {
+      int k = (int)va_arg(ap, int);
+      if (k != i)
+       abort();
+   }
+   DO_VA_COPY(ap, ap2);
+   for (i = 1; i <= 9; i++) {
+      int k = (int)va_arg(ap, int);
+      if (k != i)
+       abort();
+   }
+   va_end(ap);
+}
+int main(int argc, char *argv[])
+{
+   test(test, 1, 2, 3, 4, 5, 6, 7, 8, 9);
+   exit(0);
+}
index d33e3a7..30f4a9d 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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 <stdio.h>
 #include <stdarg.h>
 
index 85ff3e2..ea9a3c0 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2010. 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 <gras.h>
 
 int client(int argc, char *argv[]) {
index 98ccee7..ded8811 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2007, 2010. 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 <stdio.h>
 #include <gras.h>
 
index ef6a61f..19070e7 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2007, 2010. 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 <stdio.h>
 #include <gras.h>
 
index dc4c674..956f6b5 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2007, 2010. 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 <stdio.h>
 #include <gras.h>
 
index aeb2223..a21233d 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2007, 2009, 2010. 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 <stdio.h>
 #include <gras.h>
 
index bcacfd6..f0acfb7 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2007, 2010. 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 <gras.h>
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(test,"My little example");
index ffc339c..cb5ad51 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2007, 2009, 2010. 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 <gras.h>
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(test,"My little example");
index e4d3ed8..6b90168 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2007, 2010. 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 <gras.h>
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(test,"My little example");
index 31e54bf..3d871a3 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2010. 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 <gras.h>
 #include <stdio.h>
 
index 351da0d..7ba96df 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2007, 2010. 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 <gras.h>
 
 XBT_LOG_NEW_DEFAULT_CATEGORY(test,"My little example");
index df9738c..1e8e64d 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2007, 2009, 2010. 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 <stdlib.h>
 #include <gras.h>
 
index dc22745..05146d3 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2010. 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 <stdlib.h>
 #include <gras.h>
 
index 13d2be1..720318f 100644 (file)
@@ -1,6 +1,7 @@
 /* ALNeM itself                                                             */
 
-/* Copyright (c) 2003 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2005, 2010. 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. */
index 6fa074b..8fa78e7 100644 (file)
@@ -1,7 +1,8 @@
 /* ALNeM builder. Take an interference matrix as argument,                  */
 /*  and reconstruct the corresponding graph itself                          */
 
-/* Copyright (c) 2003 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2005, 2010. 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. */
index 3e085df..1090b5f 100644 (file)
@@ -1,6 +1,7 @@
 /* bandwidth - bandwidth test demo of GRAS features                         */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index b56ac5f..45abca5 100644 (file)
@@ -1,6 +1,7 @@
 /* saturate - link saturation demo of AMOK features                         */
 
-/* Copyright (c) 2003-6 Martin Quinson. All rights reserved.                */
+/* Copyright (c) 2006, 2010. 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. */
index ab18273..8d4a537 100644 (file)
@@ -1,6 +1,7 @@
 /* saturate - link saturation demo of AMOK features                         */
 
-/* Copyright (c) 2003-6 Martin Quinson. All rights reserved.                */
+/* Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 823cfe5..4c58b72 100644 (file)
@@ -1,6 +1,7 @@
 /* ALL2ALL - all2all of GRAS features                                       */
 
-/* Copyright (c) 2006 Ahmed Harbaoui. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index 4b530c5..29eee56 100644 (file)
@@ -1,6 +1,7 @@
 /* chrono - demo of GRAS benchmarking features                              */
 
-/* Copyright (c) 2005 Martin Quinson, Arnaud Legrand. All rights reserved.  */
+/* Copyright (c) 2005, 2007, 2009, 2010. 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. */
index 9170cef..7816fd2 100644 (file)
@@ -1,6 +1,7 @@
 /* chrono - demo of GRAS benchmarking features                              */
 
-/* Copyright (c) 2005 Martin Quinson, Arnaud Legrand. All rights reserved.  */
+/* Copyright (c) 2005, 2010. 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. */
index 2f4244c..d1d3565 100644 (file)
@@ -1,6 +1,7 @@
 /* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
 
-/* Copyright (c) 2005 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2005, 2006, 2007, 2010. 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. */
index 9a3a6e2..13f5e0f 100644 (file)
@@ -1,6 +1,7 @@
 /* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
 
-/* Copyright (c) 2005 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2006, 2009, 2010. 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. */
index 4b5806a..405c5c9 100644 (file)
@@ -1,6 +1,7 @@
 /* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
 
-/* Copyright (c) 2005 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index 17ca99a..5b0beaf 100644 (file)
@@ -1,6 +1,7 @@
 /* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
 
-/* Copyright (c) 2005 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index caa4cac..f5a164d 100644 (file)
@@ -1,6 +1,7 @@
 /* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
 
-/* Copyright (c) 2005 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index 18a8e3f..f045b71 100644 (file)
@@ -1,8 +1,7 @@
 /* stoken - simple/static token ring                                        */
 
-/* Copyright (c) 2005 Alexandre Colucci.                                    */
-/* Copyright (c) 2005 Martin Quinson.                                       */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index 7f5f0b5..a9b9141 100644 (file)
@@ -1,6 +1,10 @@
-/*////////////////////////////////////////////////////*/
-// Peer-To-Peer CAN simulator 050406 by Dytto ESIAL //
-//////////////////////////////////////////////////////
+/* Broken Peer-To-Peer CAN simulator                                        */
+
+/* Copyright (c) 2006, 2007. 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 <stdio.h>
 #include "xbt/sysdep.h"
index 52c5ad7..80eca19 100644 (file)
@@ -1,6 +1,10 @@
-//////////////////////////////////////////////////////
-// Peer-To-Peer CAN simulator 050406 by Dytto ESIAL //
-//////////////////////////////////////////////////////
+/* Broken Peer-To-Peer CAN simulator                                        */
+/* Copyright (c) 2006, 2007, 2010. 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 <time.h>
 //#include "gras.h"
index 3700c37..4e2f0d1 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2010. 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 "gras.h"
 
 /* Global private data */
index 61b525f..b6b9de1 100644 (file)
@@ -1,6 +1,8 @@
-/*
- * vim:ts=2:sw=2:expandtab
- */
+/* Copyright (c) 2006, 2007, 2010. 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 <stdio.h>
 #include "xbt/sysdep.h"
index 5e2b006..ffd57cf 100644 (file)
@@ -1,6 +1,7 @@
 /* ping - ping/pong demo of GRAS features                                   */
 
-/* Copyright (c) 2003, 2004, 2005 Martin Quinson. All rights reserved.      */
+/* Copyright (c) 2006, 2009, 2010. 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. */
index 3780793..701499f 100644 (file)
@@ -1,6 +1,7 @@
 /* ping - ping/pong demo of GRAS features                                   */
 
-/* Copyright (c) 2003, 2004, 2005 Martin Quinson. All rights reserved.      */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index e9b4f12..046f81e 100644 (file)
@@ -1,6 +1,7 @@
 /* ping - ping/pong demo of GRAS features                                   */
 
-/* Copyright (c) 2003, 2004, 2005 Martin Quinson. All rights reserved.      */
+/* Copyright (c) 2006, 2009, 2010. 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. */
index d867a32..27597d9 100644 (file)
@@ -1,6 +1,7 @@
 /* ping - ping/pong demo of GRAS features                                   */
 
-/* Copyright (c) 2003, 2004, 2005 Martin Quinson. All rights reserved.      */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index c6a3860..b29af45 100755 (executable)
@@ -1,6 +1,7 @@
 /* pmm - parallel matrix multiplication "double diffusion"                  */
 
-/* Copyright (c) 2006-2008 The SimGrid team. All rights reserved.           */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index 2d70f33..850b91d 100644 (file)
@@ -1,4 +1,8 @@
-/*     $Id$     */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 "gras.h"
 
index 4f79090..c29f566 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2009 Da SimGrid Team.  All rights reserved.                */
+/* Copyright (c) 2009, 2010. 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. */
index 67f0c0c..46dcd83 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2009 Da SimGrid Team.  All rights reserved.                */
+/* Copyright (c) 2009, 2010. 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. */
index 23bbffe..46a9e4b 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2009 Da SimGrid Team.  All rights reserved.                */
+/* Copyright (c) 2009, 2010. 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. */
index edf6844..f4ee78f 100644 (file)
@@ -1,6 +1,7 @@
 /* rpc - demo of the RPC features in GRAS                                   */
 
-/* Copyright (c) 2006 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index d709e4f..e08d91a 100644 (file)
@@ -1,6 +1,7 @@
 /* spawn - demo of the gras_actor_spawn function                            */
 
-/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 097451c..3098ffd 100644 (file)
@@ -1,6 +1,7 @@
 /* spawn - demo of the gras_agent_spawn function                            */
 
-/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 5c884fb..c6c787d 100644 (file)
@@ -1,6 +1,7 @@
 /* spawn - demo of the gras_agent_spawn function                            */
 
-/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 75f1aac..edf1fa2 100644 (file)
@@ -1,6 +1,7 @@
 /* spawn - demo of the gras_agent_spawn function                            */
 
-/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 82f51b9..96a653f 100644 (file)
@@ -1,6 +1,7 @@
 /* philosopher - classical dinning philosopher as a demo xbt syncro stuff   */
 
-/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 93544e9..9c1aab5 100644 (file)
@@ -1,6 +1,7 @@
 /* timer: repetitive and delayed actions                                    */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2005, 2007, 2009, 2010. 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. */
index 2f8958d..02fcb18 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2009. The SimGrid team. All rights reserved.               */
+/* Copyright (c) 2009, 2010. 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. */
index a389a76..9cad168 100644 (file)
-/*     $Id: masterslave_forwarder.c 5108 2007-12-04 16:29:05Z mquinson $        */\r
-\r
-/* Copyright (c) 2002,2003,2004 Arnaud Legrand. All rights reserved.        */\r
-\r
-/* This program is free software; you can redistribute it and/or modify it\r
- * under the terms of the license (GNU LGPL) which comes with this package. */\r
-\r
-#include <stdio.h>\r
-#include "msg/msg.h" /* Yeah! If you want to use msg, you need to include msg/msg.h */\r
-#include "xbt/sysdep.h" /* calloc, printf */\r
-\r
-/* Create a log channel to have nice outputs. */\r
-#include "xbt/log.h"\r
-#include "xbt/asserts.h"\r
-XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,"Messages specific for this msg example");\r
-\r
-\r
-typedef enum {\r
-  PORT_22 = 0,\r
-  MAX_CHANNEL\r
-} channel_t;\r
-\r
-int master(int argc, char *argv[]);\r
-int slave(int argc, char *argv[]);\r
-int forwarder(int argc, char *argv[]);\r
-MSG_error_t test_all(const char *platform_file, const char *application_file);\r
-\r
-\r
-#define FINALIZE ((void*)221297) /* a magic number to tell people to stop working */\r
-\r
-/** Emitter function  */\r
-int master(int argc, char *argv[])\r
-{\r
-       int alias_count = 0;\r
-       char** aliases = NULL;\r
-       m_task_t *todo = NULL;\r
-       int number_of_tasks = 0;\r
-       double task_comp_size = 0;\r
-       double task_comm_size = 0;\r
-\r
-\r
-       int i;\r
-\r
-       xbt_assert1(sscanf(argv[1],"%d", &number_of_tasks),"Invalid argument %s\n",argv[1]);\r
-       xbt_assert1(sscanf(argv[2],"%lg", &task_comp_size),"Invalid argument %s\n",argv[2]);\r
-       xbt_assert1(sscanf(argv[3],"%lg", &task_comm_size),"Invalid argument %s\n",argv[3]);\r
-\r
-       {\r
-               /*  Task creation */\r
-               char sprintf_buffer[64];\r
-\r
-               todo = xbt_new0(m_task_t,number_of_tasks);\r
-\r
-               for (i = 0; i < number_of_tasks; i++) \r
-               {\r
-                       sprintf(sprintf_buffer, "Task_%d", i);\r
-                       todo[i] = MSG_task_create(sprintf_buffer, task_comp_size, task_comm_size, NULL);\r
-               }\r
-       }\r
-\r
-       {                  \r
-               /* Process organisation */\r
-               alias_count = argc - 4;\r
-               aliases = xbt_new0(char*,alias_count);\r
-\r
-               for(i = 4; i < argc; i++) \r
-               {\r
-                       aliases[i-4] = strdup(argv[i]);\r
-               }\r
-       }\r
-\r
-       INFO2("Got %d aliases and %d tasks to process", alias_count,number_of_tasks);\r
-       \r
-       for (i = 0; i < alias_count; i++)\r
-               DEBUG1("%s", aliases[i]);\r
-\r
-       for (i = 0; i < number_of_tasks; i++) \r
-       {\r
-               INFO2("Sending \"%s\" to \"%s\"",todo[i]->name,aliases[i % alias_count]);\r
-               \r
-               if(!strcmp(MSG_host_get_name(MSG_host_self()), aliases[i % alias_count])) \r
-               {\r
-                       INFO0("Hey ! It's me ! :)");\r
-               }\r
-\r
-               MSG_task_send(todo[i], aliases[i % alias_count]);\r
-               INFO0("Sent");\r
-       }\r
-\r
-       INFO0("All tasks have been dispatched. Let's tell everybody the computation is over.");\r
-       \r
-       for (i = 0; i < alias_count; i++) \r
-               MSG_task_send(MSG_task_create("finalize", 0, 0, FINALIZE),aliases[i]);\r
-\r
-       INFO0("Goodbye now!");\r
-       \r
-       for(i = 0; i < alias_count; i++)\r
-               free(aliases[i]);\r
-               \r
-       free(aliases);\r
-       free(todo);\r
-       return 0;\r
-} /* end_of_master */\r
-\r
-/** Receiver function  */\r
-int slave(int argc, char *argv[])\r
-{\r
-       m_task_t task = NULL;\r
-       int res;\r
-       \r
-       while(1) \r
-       {\r
-               res = MSG_task_receive(&(task), MSG_host_get_name(MSG_host_self()));\r
-               xbt_assert0(res == MSG_OK, "MSG_task_receive failed");\r
-       \r
-               INFO1("Received \"%s\"", MSG_task_get_name(task));\r
-       \r
-               if (!strcmp(MSG_task_get_name(task),"finalize")) \r
-               {\r
-                       MSG_task_destroy(task);\r
-                       break;\r
-               }\r
-\r
-               INFO1("Processing \"%s\"", MSG_task_get_name(task));\r
-               MSG_task_execute(task);\r
-               INFO1("\"%s\" done", MSG_task_get_name(task));\r
-               MSG_task_destroy(task);\r
-               task = NULL;\r
-       }\r
-       \r
-       INFO0("I'm done. See you!");\r
-       return 0;\r
-} /* end_of_slave */\r
-\r
-/** Forwarder function */\r
-int forwarder(int argc, char *argv[])\r
-{\r
-       int i;\r
-       int alias_count;\r
-       char** aliases;\r
-       \r
-       {                  /* Process organisation */\r
-               alias_count = argc - 1;\r
-               aliases = xbt_new0(char*,alias_count);\r
-       \r
-               for (i = 1; i < argc; i++) \r
-                       aliases[i-1] =strdup(argv[i]);\r
-       }\r
-\r
-       i=0;\r
-       \r
-       while(1) \r
-       {\r
-               m_task_t task = NULL;\r
-               int a;\r
-               \r
-               a = MSG_task_receive(&(task),MSG_host_get_name(MSG_host_self()));\r
-               \r
-               if (a == MSG_OK) \r
-               {\r
-                       INFO1("Received \"%s\"", MSG_task_get_name(task));\r
-                       \r
-                       if(MSG_task_get_data(task)==FINALIZE) \r
-                       {\r
-                               INFO0("All tasks have been dispatched. Let's tell everybody the computation is over.");\r
-                               \r
-                               for (i = 0; i < alias_count; i++) \r
-                                       MSG_task_send(MSG_task_create("finalize", 0, 0, FINALIZE),aliases[i]);\r
-                               \r
-                               MSG_task_destroy(task);\r
-                               break;\r
-                       }\r
-               \r
-                       INFO2("Sending \"%s\" to \"%s\"",MSG_task_get_name(task),aliases[i% alias_count]);\r
-                       MSG_task_send(task, aliases[i % alias_count]);\r
-                       i++;\r
-               } \r
-               else \r
-               {\r
-                       INFO0("Hey ?! What's up ? ");\r
-                       xbt_assert0(0,"Unexpected behavior");\r
-               }\r
-       }\r
-       \r
-       for(i = 0; i < alias_count; i++)\r
-               free(aliases[i]);\r
-\r
-       INFO0("I'm done. See you!");\r
-       return 0;\r
-       \r
-} /* end_of_forwarder */\r
-\r
-/** Test function */\r
-MSG_error_t test_all(const char *platform_file,const char *application_file)\r
-{\r
-       MSG_error_t res = MSG_OK;\r
-\r
-       {       /*  Simulation setting */\r
-               MSG_set_channel_number(MAX_CHANNEL);\r
-               MSG_paje_output("msg_test.trace");\r
-               MSG_create_environment(platform_file);\r
-       }\r
-       \r
-       {\r
-               /*   Application deployment */\r
-               MSG_function_register("master", master);\r
-               MSG_function_register("slave", slave);\r
-               MSG_function_register("forwarder", forwarder);\r
-               MSG_launch_application(application_file);\r
-       }\r
-       \r
-       res = MSG_main();\r
-\r
-       INFO1("Simulation time %g",MSG_get_clock());\r
-       return res;\r
-} /* end_of_test_all */\r
-\r
-\r
-/** Main function */\r
-int main(int argc, char *argv[])\r
-{\r
-       MSG_error_t res = MSG_OK;\r
-       \r
-       MSG_global_init(&argc,argv);\r
-       \r
-       if (argc < 3) \r
-       {\r
-               printf ("Usage: %s platform_file deployment_file\n",argv[0]);\r
-               printf ("example: %s msg_platform.xml msg_deployment.xml\n",argv[0]);\r
-               exit(1);\r
-       }\r
-       \r
-       res = test_all(argv[1],argv[2]);\r
-       MSG_clean();\r
-       \r
-       if(res==MSG_OK)\r
-               return 0;\r
-       else\r
-               return 1;\r
-} /* end_of_main */\r
+/* Copyright (c) 2008, 2010. 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 <stdio.h>
+#include "msg/msg.h" /* Yeah! If you want to use msg, you need to include msg/msg.h */
+#include "xbt/sysdep.h" /* calloc, printf */
+
+/* Create a log channel to have nice outputs. */
+#include "xbt/log.h"
+#include "xbt/asserts.h"
+XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,"Messages specific for this msg example");
+
+
+typedef enum {
+  PORT_22 = 0,
+  MAX_CHANNEL
+} channel_t;
+
+int master(int argc, char *argv[]);
+int slave(int argc, char *argv[]);
+int forwarder(int argc, char *argv[]);
+MSG_error_t test_all(const char *platform_file, const char *application_file);
+
+
+#define FINALIZE ((void*)221297) /* a magic number to tell people to stop working */
+
+/** Emitter function  */
+int master(int argc, char *argv[])
+{
+       int alias_count = 0;
+       char** aliases = NULL;
+       m_task_t *todo = NULL;
+       int number_of_tasks = 0;
+       double task_comp_size = 0;
+       double task_comm_size = 0;
+
+
+       int i;
+
+       xbt_assert1(sscanf(argv[1],"%d", &number_of_tasks),"Invalid argument %s\n",argv[1]);
+       xbt_assert1(sscanf(argv[2],"%lg", &task_comp_size),"Invalid argument %s\n",argv[2]);
+       xbt_assert1(sscanf(argv[3],"%lg", &task_comm_size),"Invalid argument %s\n",argv[3]);
+
+       {
+               /*  Task creation */
+               char sprintf_buffer[64];
+
+               todo = xbt_new0(m_task_t,number_of_tasks);
+
+               for (i = 0; i < number_of_tasks; i++) 
+               {
+                       sprintf(sprintf_buffer, "Task_%d", i);
+                       todo[i] = MSG_task_create(sprintf_buffer, task_comp_size, task_comm_size, NULL);
+               }
+       }
+
+       {                  
+               /* Process organisation */
+               alias_count = argc - 4;
+               aliases = xbt_new0(char*,alias_count);
+
+               for(i = 4; i < argc; i++) 
+               {
+                       aliases[i-4] = strdup(argv[i]);
+               }
+       }
+
+       INFO2("Got %d aliases and %d tasks to process", alias_count,number_of_tasks);
+       
+       for (i = 0; i < alias_count; i++)
+               DEBUG1("%s", aliases[i]);
+
+       for (i = 0; i < number_of_tasks; i++) 
+       {
+               INFO2("Sending \"%s\" to \"%s\"",todo[i]->name,aliases[i % alias_count]);
+               
+               if(!strcmp(MSG_host_get_name(MSG_host_self()), aliases[i % alias_count])) 
+               {
+                       INFO0("Hey ! It's me ! :)");
+               }
+
+               MSG_task_send(todo[i], aliases[i % alias_count]);
+               INFO0("Sent");
+       }
+
+       INFO0("All tasks have been dispatched. Let's tell everybody the computation is over.");
+       
+       for (i = 0; i < alias_count; i++) 
+               MSG_task_send(MSG_task_create("finalize", 0, 0, FINALIZE),aliases[i]);
+
+       INFO0("Goodbye now!");
+       
+       for(i = 0; i < alias_count; i++)
+               free(aliases[i]);
+               
+       free(aliases);
+       free(todo);
+       return 0;
+} /* end_of_master */
+
+/** Receiver function  */
+int slave(int argc, char *argv[])
+{
+       m_task_t task = NULL;
+       int res;
+       
+       while(1) 
+       {
+               res = MSG_task_receive(&(task), MSG_host_get_name(MSG_host_self()));
+               xbt_assert0(res == MSG_OK, "MSG_task_receive failed");
+       
+               INFO1("Received \"%s\"", MSG_task_get_name(task));
+       
+               if (!strcmp(MSG_task_get_name(task),"finalize")) 
+               {
+                       MSG_task_destroy(task);
+                       break;
+               }
+
+               INFO1("Processing \"%s\"", MSG_task_get_name(task));
+               MSG_task_execute(task);
+               INFO1("\"%s\" done", MSG_task_get_name(task));
+               MSG_task_destroy(task);
+               task = NULL;
+       }
+       
+       INFO0("I'm done. See you!");
+       return 0;
+} /* end_of_slave */
+
+/** Forwarder function */
+int forwarder(int argc, char *argv[])
+{
+       int i;
+       int alias_count;
+       char** aliases;
+       
+       {                  /* Process organisation */
+               alias_count = argc - 1;
+               aliases = xbt_new0(char*,alias_count);
+       
+               for (i = 1; i < argc; i++) 
+                       aliases[i-1] =strdup(argv[i]);
+       }
+
+       i=0;
+       
+       while(1) 
+       {
+               m_task_t task = NULL;
+               int a;
+               
+               a = MSG_task_receive(&(task),MSG_host_get_name(MSG_host_self()));
+               
+               if (a == MSG_OK) 
+               {
+                       INFO1("Received \"%s\"", MSG_task_get_name(task));
+                       
+                       if(MSG_task_get_data(task)==FINALIZE) 
+                       {
+                               INFO0("All tasks have been dispatched. Let's tell everybody the computation is over.");
+                               
+                               for (i = 0; i < alias_count; i++) 
+                                       MSG_task_send(MSG_task_create("finalize", 0, 0, FINALIZE),aliases[i]);
+                               
+                               MSG_task_destroy(task);
+                               break;
+                       }
+               
+                       INFO2("Sending \"%s\" to \"%s\"",MSG_task_get_name(task),aliases[i% alias_count]);
+                       MSG_task_send(task, aliases[i % alias_count]);
+                       i++;
+               } 
+               else 
+               {
+                       INFO0("Hey ?! What's up ? ");
+                       xbt_assert0(0,"Unexpected behavior");
+               }
+       }
+       
+       for(i = 0; i < alias_count; i++)
+               free(aliases[i]);
+
+       INFO0("I'm done. See you!");
+       return 0;
+       
+} /* end_of_forwarder */
+
+/** Test function */
+MSG_error_t test_all(const char *platform_file,const char *application_file)
+{
+       MSG_error_t res = MSG_OK;
+
+       {       /*  Simulation setting */
+               MSG_set_channel_number(MAX_CHANNEL);
+               MSG_paje_output("msg_test.trace");
+               MSG_create_environment(platform_file);
+       }
+       
+       {
+               /*   Application deployment */
+               MSG_function_register("master", master);
+               MSG_function_register("slave", slave);
+               MSG_function_register("forwarder", forwarder);
+               MSG_launch_application(application_file);
+       }
+       
+       res = MSG_main();
+
+       INFO1("Simulation time %g",MSG_get_clock());
+       return res;
+} /* end_of_test_all */
+
+
+/** Main function */
+int main(int argc, char *argv[])
+{
+       MSG_error_t res = MSG_OK;
+       
+       MSG_global_init(&argc,argv);
+       
+       if (argc < 3) 
+       {
+               printf ("Usage: %s platform_file deployment_file\n",argv[0]);
+               printf ("example: %s msg_platform.xml msg_deployment.xml\n",argv[0]);
+               exit(1);
+       }
+       
+       res = test_all(argv[1],argv[2]);
+       MSG_clean();
+       
+       if(res==MSG_OK)
+               return 0;
+       else
+               return 1;
+} /* end_of_main */
index a702f7d..b8c0f20 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 #include "msg/msg.h"
index 44cb2bf..21e84cd 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2002,2003,2004 Arnaud Legrand. All rights reserved.        */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index b7dd543..330250d 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2002,2003,2004 Arnaud Legrand. All rights reserved.        */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 257b276..b64aacd 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2002,2003,2004 Arnaud Legrand. All rights reserved.        */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index aaf7020..f6ac5cb 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2002,2003,2004 Arnaud Legrand. All rights reserved.        */
+/* Copyright (c) 2010. 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. */
index 7483953..18936c7 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2009 The SimGrid team. All rights reserved.                */
+/* Copyright (c) 2009, 2010. 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. */
index 8f13bd3..89fc1c1 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2002,2003,2004 Arnaud Legrand. All rights reserved.        */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 8ee0ec9..9beea97 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2008, 2009, 2010. 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 <stdio.h>
 #include "msg/msg.h"            /* Yeah! If you want to use msg, you
                                    need to include msg/msg.h */
index 63162cf..066b374 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2002,2003,2004 Arnaud Legrand. All rights reserved.        */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 0e26b45..6c88118 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2007. SimGrid Team. All rights reserved.                   */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 785ae0b..ae41aff 100644 (file)
@@ -1,5 +1,6 @@
-/*     $Id$        */
-/* Copyright (c) 2002,2003,2004 Arnaud Legrand. All rights reserved.        */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
 
index b5459b7..c8e045a 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2005 Arnaud Legrand. All rights reserved.        */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 067cd73..e42c1e9 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 #include "msg/msg.h"
index eff3761..fd6033c 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2002,2003,2004 Arnaud Legrand. All rights reserved.        */
+/* Copyright (c) 2010. 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. */
index 8381dca..94205ff 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2002,2003,2004 Arnaud Legrand. All rights reserved.        */
+/* Copyright (c) 2010. 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. */
index 6688dd5..86e54dc 100644 (file)
@@ -1,6 +1,7 @@
 /* simple test trying to load a DAX file.                                   */
 
-/* Copyright (c) 2009 Da SimGrid Team. All rights reserved.                 */
+/* Copyright (c) 2009, 2010. 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. */
index d2a54f2..0067eaa 100644 (file)
@@ -1,6 +1,13 @@
-/*
-   See examples/platforms/metaxml.xml and examples/platforms/metaxml_platform.xml files for examples on how to use the cluster, foreach, set, route:multi, trace and trace:connect tags
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
+
+/* See examples/platforms/metaxml.xml and examples/platforms/metaxml_platform.xml 
+   for examples on how to use the cluster, foreach, set, route:multi, trace and trace:connect tags
 */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include "simdag/simdag.h"
index 9b7d424..089e89c 100755 (executable)
@@ -1,4 +1,8 @@
-/*     $Id$     */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
index ad00cda..bb25059 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 #include "simdag/simdag.h"
index 99a85c7..9870e3c 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 2cb6f7d..56aa80e 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2009, 2010. 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 "mpi.h"
 #include <stdlib.h>
 #include <stdio.h>
index 57dbab7..be4ded8 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2009. 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 <stdio.h>
 #include <mpi.h>
 
index 6e197fe..4b594e3 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2009. 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 <stdio.h>
 #include <mpi.h>
 
index 8272646..b603bab 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 #include <mpi.h>
index 775e131..24607cb 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2009, 2010. 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 <stdio.h>
 #include <mpi.h>
 
index ea52440..4811b80 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2009, 2010. 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 <stdio.h>
 #include <mpi.h>
 
index d25a531..ed22bfc 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2009, 2010. 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 <stdio.h>
 #include <mpi.h>
 
index 47f9dbd..21cdc54 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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 <stdio.h>
 #include <mpi.h>
 
index b76a15d..18b3420 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
index 636c985..e7b4a7d 100644 (file)
@@ -1,6 +1,10 @@
 /* A simple example pingpong pogram to test MPI_Send and MPI_Recv */
 
+/* Copyright (c) 2009, 2010. 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 <stdio.h>
 #include <mpi.h>
index 3f3aeee..cb97aa4 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2009, 2010. 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 "mpi.h"
 #include <stdio.h>
 
index bf4d3df..984ee7e 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2009, 2010. 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 <stdio.h>
 #include <mpi.h>
 
index 0bfb04c..6185ad3 100644 (file)
@@ -1,88 +1,94 @@
-#include <stdio.h>\r
-#include <stdlib.h>\r
-\r
-\r
-#include "xbt/xbt_os_thread.h"\r
-#include "xbt.h"\r
-#include "xbt/log.h"\r
-XBT_LOG_NEW_DEFAULT_CATEGORY(sem_basic,"Messages specific for this sem example");\r
-\r
-\r
-\r
-#define THREAD_THREADS_MAX                     ((unsigned int)10)\r
-\r
-/*\r
- * the thread funtion.\r
- */\r
-void*\r
-thread_routine(void* param);\r
-\r
-/* an entry of the table of threads */\r
-typedef struct s_thread_entry\r
-{\r
-       xbt_os_thread_t thread;\r
-       unsigned int thread_index;      /* the index of the thread      */\r
-}s_thread_entry_t,* thread_entry_t;\r
-\r
-\r
-static xbt_os_sem_t \r
-sem = NULL;\r
-\r
-static\r
-int value = 0;\r
-int\r
-main(int argc, char* argv[])\r
-{\r
-       s_thread_entry_t threads_table[THREAD_THREADS_MAX] = {0};       \r
-       unsigned int i,j;\r
-       int exit_code = 0;\r
-       \r
-       xbt_init(&argc,argv);\r
-       \r
-       sem = xbt_os_sem_init(1);\r
-       \r
-       i = 0;\r
-       \r
-       while(i < THREAD_THREADS_MAX)\r
-       {\r
-               threads_table[i].thread_index = i;\r
-\r
-               if(NULL == (threads_table[i].thread = xbt_os_thread_create("thread",thread_routine,&(threads_table[i].thread_index))))\r
-                       break;\r
-       \r
-               i++;\r
-       }\r
-       \r
-       /* close the thread handles */\r
-       for(j = 0; j < THREAD_THREADS_MAX; j++)\r
-               xbt_os_thread_join(threads_table[j].thread,NULL);\r
-       \r
-       xbt_os_sem_destroy(sem);\r
-       \r
-       INFO1("sem_basic terminated with exit code %d (success)",EXIT_SUCCESS);\r
-\r
-       xbt_exit();\r
-       \r
-       return EXIT_SUCCESS;\r
-               \r
-}\r
-\r
-void*\r
-thread_routine(void* param)\r
-{\r
-       int thread_index = *((int*)param);\r
-       int exit_code = 0;\r
-       \r
-       xbt_os_sem_acquire(sem);\r
-       INFO1("Hello i'm the thread %d",thread_index);\r
-       value++;\r
-       INFO1("The new value of the global variable is %d, bye",value);\r
-       xbt_os_sem_release(sem);\r
-       \r
-       xbt_os_thread_exit(&exit_code);\r
-\r
-       return (void*)(NULL);\r
-}\r
-\r
-\r
-\r
+/* Copyright (c) 2007. 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 <stdio.h>
+#include <stdlib.h>
+
+
+#include "xbt/xbt_os_thread.h"
+#include "xbt.h"
+#include "xbt/log.h"
+XBT_LOG_NEW_DEFAULT_CATEGORY(sem_basic,"Messages specific for this sem example");
+
+
+
+#define THREAD_THREADS_MAX                     ((unsigned int)10)
+
+/*
+ * the thread funtion.
+ */
+void*
+thread_routine(void* param);
+
+/* an entry of the table of threads */
+typedef struct s_thread_entry
+{
+       xbt_os_thread_t thread;
+       unsigned int thread_index;      /* the index of the thread      */
+}s_thread_entry_t,* thread_entry_t;
+
+
+static xbt_os_sem_t 
+sem = NULL;
+
+static
+int value = 0;
+int
+main(int argc, char* argv[])
+{
+       s_thread_entry_t threads_table[THREAD_THREADS_MAX] = {0};       
+       unsigned int i,j;
+       int exit_code = 0;
+       
+       xbt_init(&argc,argv);
+       
+       sem = xbt_os_sem_init(1);
+       
+       i = 0;
+       
+       while(i < THREAD_THREADS_MAX)
+       {
+               threads_table[i].thread_index = i;
+
+               if(NULL == (threads_table[i].thread = xbt_os_thread_create("thread",thread_routine,&(threads_table[i].thread_index))))
+                       break;
+       
+               i++;
+       }
+       
+       /* close the thread handles */
+       for(j = 0; j < THREAD_THREADS_MAX; j++)
+               xbt_os_thread_join(threads_table[j].thread,NULL);
+       
+       xbt_os_sem_destroy(sem);
+       
+       INFO1("sem_basic terminated with exit code %d (success)",EXIT_SUCCESS);
+
+       xbt_exit();
+       
+       return EXIT_SUCCESS;
+               
+}
+
+void*
+thread_routine(void* param)
+{
+       int thread_index = *((int*)param);
+       int exit_code = 0;
+       
+       xbt_os_sem_acquire(sem);
+       INFO1("Hello i'm the thread %d",thread_index);
+       value++;
+       INFO1("The new value of the global variable is %d, bye",value);
+       xbt_os_sem_release(sem);
+       
+       xbt_os_thread_exit(&exit_code);
+
+       return (void*)(NULL);
+}
+
+
+
index 6549403..b0f2f1d 100644 (file)
-#include <stdio.h>\r
-#include <stdlib.h>\r
-#include <string.h>\r
-#include <errno.h>\r
-\r
-\r
-#include "xbt/xbt_os_thread.h"\r
-#include "xbt.h"\r
-#include "xbt/log.h"\r
-XBT_LOG_NEW_DEFAULT_CATEGORY(sem_sched,"Messages specific for this sem example");\r
-\r
-#ifndef ENOBUFS\r
-#define ENOBUFS                1024\r
-#endif\r
-\r
-#define CTX_MAX                        ((unsigned int)1000)\r
-\r
-\r
-#define MAX_ARG                                                30\r
-#define MAX_ARGS                                       10\r
-\r
-typedef int (*pfn_func_t)(int, char**);\r
-\r
-static int\r
-__next_ctx_ID = 0;\r
-\r
-typedef struct s_job\r
-{\r
-       pfn_func_t func;\r
-       int argc;\r
-       char** argv;\r
-}s_job_t,* job_t;\r
-\r
-\r
-job_t\r
-job_new(pfn_func_t func, int argc, char** argv);\r
-\r
-int\r
-job_execute(job_t job);\r
-\r
-int\r
-job_free(job_t* ref);\r
-\r
-/* an entry of the table of threads */\r
-typedef struct s_ctx\r
-{\r
-       xbt_os_sem_t begin;\r
-       xbt_os_sem_t end;\r
-       int failure;\r
-       job_t job;\r
-       xbt_os_thread_t imp;\r
-       int index;\r
-}s_ctx_t,* ctx_t;\r
-\r
-typedef struct s_shed\r
-{\r
-       ctx_t* ctxs;\r
-       int size;\r
-       int capacity;\r
-}s_sched_t,* sched_t;\r
-\r
-\r
-void \r
-schedule(ctx_t c);\r
-void \r
-unschedule(ctx_t c);\r
-\r
-void*\r
-ctx_function(void* param);\r
-\r
-ctx_t \r
-ctx_new(job_t job);\r
-\r
-int \r
-ctx_free(ctx_t* ref);\r
-\r
-sched_t\r
-sched_new(int size);\r
-\r
-int\r
-sched_add_job(sched_t sched, job_t job);\r
-\r
-int\r
-sched_init(sched_t sched);\r
-\r
-int\r
-sched_schedule(sched_t sched);\r
-\r
-int\r
-sched_clean(sched_t sched);\r
-\r
-int\r
-sched_free(sched_t* ref);\r
-\r
-int\r
-job(int argc, char* argv[]);\r
-\r
-int\r
-main(int argc, char* argv[])\r
-{\r
-       sched_t sched;\r
-       int i, size;\r
-       char** __argv;\r
-       char arg[MAX_ARG] = {0};\r
-       \r
-       \r
-       xbt_init(&argc, argv);\r
-       \r
-       if(argc != 2) \r
-       {\r
-               INFO1("Usage: %s job count",argv[0]);\r
-               exit(EXIT_FAILURE);\r
-       }  \r
-       \r
-       \r
-       size = atoi(argv[1]);\r
-       \r
-       /* create a new scheduler */\r
-       sched = sched_new(size);\r
-       \r
-       if(!sched)\r
-       {\r
-               INFO1("sched_new() failed : errno %d",errno);\r
-               xbt_exit();\r
-               exit(EXIT_FAILURE);\r
-       }\r
-       \r
-       __argv = xbt_new0(char*,MAX_ARGS);\r
-       \r
-       for(i = 0; i < MAX_ARGS; i++)\r
-       {\r
-               sprintf(arg,"arg_%d",i);\r
-               __argv[i] = strdup(arg);\r
-               memset(arg,0,MAX_ARG);\r
-               \r
-       }\r
-       \r
-       for(i = 0; i < size; i++)\r
-               sched_add_job(sched,job_new(job,(i < MAX_ARGS) ? i : MAX_ARGS,__argv));\r
-       \r
-       /* initialize the scheduler */\r
-       if(sched_init(sched) < 0)\r
-       {\r
-               sched_free(&sched);\r
-               INFO1("sched_init() failed : errno %d\n",errno);\r
-               xbt_exit();\r
-               exit(EXIT_FAILURE);\r
-       }\r
-       \r
-       /* schedule the jobs */\r
-       if(sched_schedule(sched) < 0)\r
-       {\r
-               sched_free(&sched);\r
-               INFO1("sched_init() failed : errno %d",errno);\r
-               xbt_exit();\r
-               exit(EXIT_FAILURE);\r
-       }\r
-       \r
-       /* cleanup */\r
-       if(sched_clean(sched) < 0)\r
-       {\r
-               sched_free(&sched);\r
-               INFO1("sched_init() failed : errno %d",errno);\r
-               xbt_exit();\r
-               exit(EXIT_FAILURE);\r
-       }\r
-       \r
-       /* destroy the scheduler */\r
-       sched_free(&sched);\r
-       \r
-       INFO1("sem_sched terminated with exit code %d (success)",EXIT_SUCCESS);\r
-\r
-       xbt_exit();\r
-       \r
-       return EXIT_SUCCESS;\r
-               \r
-}\r
-\r
-void*\r
-ctx_function(void* param)\r
-{\r
-       int i = 0;\r
-       int exit_code = 1;\r
-       ctx_t ctx = (ctx_t)param;\r
-       \r
-       INFO1("Hello i'm the owner of the context %d, i'm waiting for starting",ctx->index);\r
-       \r
-       unschedule(ctx);\r
-       \r
-       if(ctx->failure)\r
-       {\r
-               INFO1("0ups the scheduler initialization failed bye {%d}.",ctx->index);\r
-               xbt_os_thread_exit(&exit_code);\r
-       }\r
-       \r
-       INFO1("I'm the owner of the context %d : I'm started",ctx->index);\r
-       INFO0("Wait a minute, I do my job");\r
-       \r
-       /* do its job */\r
-       exit_code = job_execute(ctx->job);\r
-       \r
-       INFO1("Have finished my job, bye {%d}\n",ctx->index);\r
-       \r
-       xbt_os_sem_release(ctx->end);\r
-       \r
-       xbt_os_thread_exit(&exit_code);\r
-}\r
-\r
-void schedule(ctx_t c) \r
-{\r
-       xbt_os_sem_release(c->begin);   /* allow C to go                */\r
-       xbt_os_sem_acquire(c->end);     /* wait C's end                 */\r
-}\r
-\r
-void unschedule(ctx_t c) \r
-{\r
-   xbt_os_sem_release(c->end);         /* I'm done, dude               */\r
-   xbt_os_sem_acquire(c->begin);       /* can I start again?   */\r
-}\r
-\r
-ctx_t \r
-ctx_new(job_t job)\r
-{\r
-       ctx_t ctx = xbt_new0(s_ctx_t,1);\r
-       ctx->index = ++__next_ctx_ID;\r
-       ctx->begin = xbt_os_sem_init(0);\r
-       ctx->end = xbt_os_sem_init(0);\r
-       ctx->failure = 0;\r
-       ctx->job = job;\r
-       \r
-       return ctx;\r
-}\r
-\r
-int \r
-ctx_free(ctx_t* ref)\r
-{\r
-       ctx_t ctx;\r
-       if(!(*ref))\r
-               return EINVAL;\r
-       \r
-       ctx = *ref;\r
-       \r
-       xbt_os_sem_destroy(ctx->begin);\r
-       xbt_os_sem_destroy(ctx->end);\r
-       job_free(&(ctx->job));\r
-       free(ctx);\r
-       *ref = NULL;\r
-       \r
-       return 0;\r
-}\r
-\r
-sched_t\r
-sched_new(int size)\r
-{\r
-       sched_t sched;\r
-       \r
-       if(size <= 0)\r
-       {\r
-               errno = EINVAL;\r
-               return NULL;\r
-       }\r
-       \r
-       sched = xbt_new0(s_sched_t,1);\r
-       \r
-       if(!sched)\r
-       {\r
-               errno = ENOMEM;\r
-               return NULL;\r
-       }\r
-               \r
-       sched->ctxs = xbt_new0(ctx_t,size);\r
-       \r
-       if(!(sched->ctxs))\r
-       {\r
-               errno = ENOMEM;\r
-               free(sched);\r
-               return NULL;\r
-       }\r
-       \r
-       sched->size = 0;\r
-       sched->capacity = size;\r
-       \r
-       return sched;\r
-}\r
-\r
-int\r
-sched_add_job(sched_t sched, job_t job)\r
-{\r
-       if(!sched || !job)\r
-               return EINVAL;\r
-       \r
-       if(sched->capacity < sched->size)\r
-               return ENOBUFS;\r
-               \r
-       sched->ctxs[(sched->size)++] = ctx_new(job);\r
-       \r
-       return 0;\r
-}\r
-\r
-int\r
-sched_init(sched_t sched)\r
-{\r
-       int i,j;\r
-       int success = 1;\r
-       \r
-       if(!sched)\r
-               return EINVAL;\r
-       \r
-       for(i = 0; i < sched->size; i++)\r
-       {       \r
-               sched->ctxs[i]->imp = xbt_os_thread_create("thread",ctx_function,(void*)sched->ctxs[i]);\r
-               \r
-               xbt_os_sem_acquire(sched->ctxs[i]->end);\r
-       }\r
-       \r
-       if(!success)\r
-       {\r
-               for(j = 0; j < i; j++)\r
-               {\r
-                       sched->ctxs[j]->failure = 1;\r
-                       xbt_os_sem_release(sched->ctxs[j]->begin);\r
-               }\r
-                       \r
-               for(j = 0; j < i; j++)\r
-               {\r
-                       xbt_os_thread_join(sched->ctxs[j]->imp,0);\r
-                       \r
-                       ctx_free(&(sched->ctxs[j]));\r
-               }\r
-               \r
-               return -1;\r
-                                       \r
-       }\r
-       \r
-       return 0;\r
-}\r
-\r
-int\r
-sched_schedule(sched_t sched)\r
-{\r
-       int i;\r
-       \r
-       if(!sched)\r
-               return EINVAL;\r
-               \r
-       for(i = 0; i < sched->size; i++)\r
-               schedule(sched->ctxs[i]);\r
-               \r
-       return 0;\r
-}\r
-\r
-int\r
-sched_clean(sched_t sched)\r
-{\r
-       int i;\r
-       \r
-       if(!sched)\r
-               return EINVAL;\r
-               \r
-       for(i = 0; i < sched->size; i++)\r
-       {\r
-               xbt_os_thread_join(sched->ctxs[i]->imp,NULL);\r
-               \r
-               ctx_free(&(sched->ctxs[i]));\r
-       }\r
-       \r
-       return 0;\r
-}\r
-\r
-int\r
-sched_free(sched_t* ref)\r
-{\r
-       if(*ref)\r
-               return EINVAL;\r
-               \r
-       free(((sched_t)(*ref))->ctxs);\r
-       \r
-       *ref = NULL;\r
-       \r
-       return 0;\r
-}\r
-\r
-\r
-int\r
-job(int argc, char** argv)\r
-{\r
-       int i = 0;\r
-       \r
-       INFO0("I'm the job : I'm going to print all the args of my commande line");\r
-       \r
-       INFO1("-- Arguments (%d):",argc);\r
-       \r
-       for(i = 0; i < argc; i++)\r
-               INFO2("  ---- [%i] %s",i,argv[i]);\r
-               \r
-       return 0;\r
-}\r
-\r
-job_t\r
-job_new(pfn_func_t func, int argc, char** argv)\r
-{\r
-       job_t job;\r
-       int i;\r
-       \r
-       /* todo check the parameters */\r
-       job = xbt_new0(s_job_t,1);\r
-       \r
-       if(!job)\r
-       {\r
-               errno = ENOMEM;\r
-               return NULL;\r
-       }\r
-       \r
-       job->argv = xbt_new0(char*,argc);\r
-       \r
-       if(!(job->argv))\r
-       {\r
-               free(job);\r
-               errno = ENOMEM;\r
-               return NULL;\r
-       }\r
-       \r
-       for(i = 0; i < argc; i++)\r
-               job->argv[i] = strdup(argv[i]);\r
-       \r
-       job->func = func;       \r
-       job->argc = argc;\r
-       \r
-       return job;\r
-}\r
-\r
-int\r
-job_execute(job_t job)\r
-{\r
-       if(!job)\r
-               return EINVAL;\r
-               \r
-       return (*(job->func))(job->argc, job->argv);\r
-}\r
-\r
-int\r
-job_free(job_t* ref)\r
-{\r
-       job_t job;\r
-       int i;\r
-       \r
-       if(!(*ref))\r
-               return EINVAL;\r
-               \r
-       job = *ref;\r
-       \r
-       for(i = 0; i < job->argc; i++)\r
-               free(job->argv[i]);\r
-       \r
-       free(job->argv);\r
-       free(*ref);\r
-       *ref = NULL;\r
-       \r
-       return 0;\r
-}\r
-\r
-\r
-\r
+/* Copyright (c) 2007, 2008. 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 <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
+
+
+#include "xbt/xbt_os_thread.h"
+#include "xbt.h"
+#include "xbt/log.h"
+XBT_LOG_NEW_DEFAULT_CATEGORY(sem_sched,"Messages specific for this sem example");
+
+#ifndef ENOBUFS
+#define ENOBUFS                1024
+#endif
+
+#define CTX_MAX                        ((unsigned int)1000)
+
+
+#define MAX_ARG                                                30
+#define MAX_ARGS                                       10
+
+typedef int (*pfn_func_t)(int, char**);
+
+static int
+__next_ctx_ID = 0;
+
+typedef struct s_job
+{
+       pfn_func_t func;
+       int argc;
+       char** argv;
+}s_job_t,* job_t;
+
+
+job_t
+job_new(pfn_func_t func, int argc, char** argv);
+
+int
+job_execute(job_t job);
+
+int
+job_free(job_t* ref);
+
+/* an entry of the table of threads */
+typedef struct s_ctx
+{
+       xbt_os_sem_t begin;
+       xbt_os_sem_t end;
+       int failure;
+       job_t job;
+       xbt_os_thread_t imp;
+       int index;
+}s_ctx_t,* ctx_t;
+
+typedef struct s_shed
+{
+       ctx_t* ctxs;
+       int size;
+       int capacity;
+}s_sched_t,* sched_t;
+
+
+void 
+schedule(ctx_t c);
+void 
+unschedule(ctx_t c);
+
+void*
+ctx_function(void* param);
+
+ctx_t 
+ctx_new(job_t job);
+
+int 
+ctx_free(ctx_t* ref);
+
+sched_t
+sched_new(int size);
+
+int
+sched_add_job(sched_t sched, job_t job);
+
+int
+sched_init(sched_t sched);
+
+int
+sched_schedule(sched_t sched);
+
+int
+sched_clean(sched_t sched);
+
+int
+sched_free(sched_t* ref);
+
+int
+job(int argc, char* argv[]);
+
+int
+main(int argc, char* argv[])
+{
+       sched_t sched;
+       int i, size;
+       char** __argv;
+       char arg[MAX_ARG] = {0};
+       
+       
+       xbt_init(&argc, argv);
+       
+       if(argc != 2) 
+       {
+               INFO1("Usage: %s job count",argv[0]);
+               exit(EXIT_FAILURE);
+       }  
+       
+       
+       size = atoi(argv[1]);
+       
+       /* create a new scheduler */
+       sched = sched_new(size);
+       
+       if(!sched)
+       {
+               INFO1("sched_new() failed : errno %d",errno);
+               xbt_exit();
+               exit(EXIT_FAILURE);
+       }
+       
+       __argv = xbt_new0(char*,MAX_ARGS);
+       
+       for(i = 0; i < MAX_ARGS; i++)
+       {
+               sprintf(arg,"arg_%d",i);
+               __argv[i] = strdup(arg);
+               memset(arg,0,MAX_ARG);
+               
+       }
+       
+       for(i = 0; i < size; i++)
+               sched_add_job(sched,job_new(job,(i < MAX_ARGS) ? i : MAX_ARGS,__argv));
+       
+       /* initialize the scheduler */
+       if(sched_init(sched) < 0)
+       {
+               sched_free(&sched);
+               INFO1("sched_init() failed : errno %d\n",errno);
+               xbt_exit();
+               exit(EXIT_FAILURE);
+       }
+       
+       /* schedule the jobs */
+       if(sched_schedule(sched) < 0)
+       {
+               sched_free(&sched);
+               INFO1("sched_init() failed : errno %d",errno);
+               xbt_exit();
+               exit(EXIT_FAILURE);
+       }
+       
+       /* cleanup */
+       if(sched_clean(sched) < 0)
+       {
+               sched_free(&sched);
+               INFO1("sched_init() failed : errno %d",errno);
+               xbt_exit();
+               exit(EXIT_FAILURE);
+       }
+       
+       /* destroy the scheduler */
+       sched_free(&sched);
+       
+       INFO1("sem_sched terminated with exit code %d (success)",EXIT_SUCCESS);
+
+       xbt_exit();
+       
+       return EXIT_SUCCESS;
+               
+}
+
+void*
+ctx_function(void* param)
+{
+       int i = 0;
+       int exit_code = 1;
+       ctx_t ctx = (ctx_t)param;
+       
+       INFO1("Hello i'm the owner of the context %d, i'm waiting for starting",ctx->index);
+       
+       unschedule(ctx);
+       
+       if(ctx->failure)
+       {
+               INFO1("0ups the scheduler initialization failed bye {%d}.",ctx->index);
+               xbt_os_thread_exit(&exit_code);
+       }
+       
+       INFO1("I'm the owner of the context %d : I'm started",ctx->index);
+       INFO0("Wait a minute, I do my job");
+       
+       /* do its job */
+       exit_code = job_execute(ctx->job);
+       
+       INFO1("Have finished my job, bye {%d}\n",ctx->index);
+       
+       xbt_os_sem_release(ctx->end);
+       
+       xbt_os_thread_exit(&exit_code);
+}
+
+void schedule(ctx_t c) 
+{
+       xbt_os_sem_release(c->begin);   /* allow C to go                */
+       xbt_os_sem_acquire(c->end);     /* wait C's end                 */
+}
+
+void unschedule(ctx_t c) 
+{
+   xbt_os_sem_release(c->end);         /* I'm done, dude               */
+   xbt_os_sem_acquire(c->begin);       /* can I start again?   */
+}
+
+ctx_t 
+ctx_new(job_t job)
+{
+       ctx_t ctx = xbt_new0(s_ctx_t,1);
+       ctx->index = ++__next_ctx_ID;
+       ctx->begin = xbt_os_sem_init(0);
+       ctx->end = xbt_os_sem_init(0);
+       ctx->failure = 0;
+       ctx->job = job;
+       
+       return ctx;
+}
+
+int 
+ctx_free(ctx_t* ref)
+{
+       ctx_t ctx;
+       if(!(*ref))
+               return EINVAL;
+       
+       ctx = *ref;
+       
+       xbt_os_sem_destroy(ctx->begin);
+       xbt_os_sem_destroy(ctx->end);
+       job_free(&(ctx->job));
+       free(ctx);
+       *ref = NULL;
+       
+       return 0;
+}
+
+sched_t
+sched_new(int size)
+{
+       sched_t sched;
+       
+       if(size <= 0)
+       {
+               errno = EINVAL;
+               return NULL;
+       }
+       
+       sched = xbt_new0(s_sched_t,1);
+       
+       if(!sched)
+       {
+               errno = ENOMEM;
+               return NULL;
+       }
+               
+       sched->ctxs = xbt_new0(ctx_t,size);
+       
+       if(!(sched->ctxs))
+       {
+               errno = ENOMEM;
+               free(sched);
+               return NULL;
+       }
+       
+       sched->size = 0;
+       sched->capacity = size;
+       
+       return sched;
+}
+
+int
+sched_add_job(sched_t sched, job_t job)
+{
+       if(!sched || !job)
+               return EINVAL;
+       
+       if(sched->capacity < sched->size)
+               return ENOBUFS;
+               
+       sched->ctxs[(sched->size)++] = ctx_new(job);
+       
+       return 0;
+}
+
+int
+sched_init(sched_t sched)
+{
+       int i,j;
+       int success = 1;
+       
+       if(!sched)
+               return EINVAL;
+       
+       for(i = 0; i < sched->size; i++)
+       {       
+               sched->ctxs[i]->imp = xbt_os_thread_create("thread",ctx_function,(void*)sched->ctxs[i]);
+               
+               xbt_os_sem_acquire(sched->ctxs[i]->end);
+       }
+       
+       if(!success)
+       {
+               for(j = 0; j < i; j++)
+               {
+                       sched->ctxs[j]->failure = 1;
+                       xbt_os_sem_release(sched->ctxs[j]->begin);
+               }
+                       
+               for(j = 0; j < i; j++)
+               {
+                       xbt_os_thread_join(sched->ctxs[j]->imp,0);
+                       
+                       ctx_free(&(sched->ctxs[j]));
+               }
+               
+               return -1;
+                                       
+       }
+       
+       return 0;
+}
+
+int
+sched_schedule(sched_t sched)
+{
+       int i;
+       
+       if(!sched)
+               return EINVAL;
+               
+       for(i = 0; i < sched->size; i++)
+               schedule(sched->ctxs[i]);
+               
+       return 0;
+}
+
+int
+sched_clean(sched_t sched)
+{
+       int i;
+       
+       if(!sched)
+               return EINVAL;
+               
+       for(i = 0; i < sched->size; i++)
+       {
+               xbt_os_thread_join(sched->ctxs[i]->imp,NULL);
+               
+               ctx_free(&(sched->ctxs[i]));
+       }
+       
+       return 0;
+}
+
+int
+sched_free(sched_t* ref)
+{
+       if(*ref)
+               return EINVAL;
+               
+       free(((sched_t)(*ref))->ctxs);
+       
+       *ref = NULL;
+       
+       return 0;
+}
+
+
+int
+job(int argc, char** argv)
+{
+       int i = 0;
+       
+       INFO0("I'm the job : I'm going to print all the args of my commande line");
+       
+       INFO1("-- Arguments (%d):",argc);
+       
+       for(i = 0; i < argc; i++)
+               INFO2("  ---- [%i] %s",i,argv[i]);
+               
+       return 0;
+}
+
+job_t
+job_new(pfn_func_t func, int argc, char** argv)
+{
+       job_t job;
+       int i;
+       
+       /* todo check the parameters */
+       job = xbt_new0(s_job_t,1);
+       
+       if(!job)
+       {
+               errno = ENOMEM;
+               return NULL;
+       }
+       
+       job->argv = xbt_new0(char*,argc);
+       
+       if(!(job->argv))
+       {
+               free(job);
+               errno = ENOMEM;
+               return NULL;
+       }
+       
+       for(i = 0; i < argc; i++)
+               job->argv[i] = strdup(argv[i]);
+       
+       job->func = func;       
+       job->argc = argc;
+       
+       return job;
+}
+
+int
+job_execute(job_t job)
+{
+       if(!job)
+               return EINVAL;
+               
+       return (*(job->func))(job->argc, job->argv);
+}
+
+int
+job_free(job_t* ref)
+{
+       job_t job;
+       int i;
+       
+       if(!(*ref))
+               return EINVAL;
+               
+       job = *ref;
+       
+       for(i = 0; i < job->argc; i++)
+               free(job->argv[i]);
+       
+       free(job->argv);
+       free(*ref);
+       *ref = NULL;
+       
+       return 0;
+}
+
+
+
index 8042239..cafc960 100644 (file)
@@ -1,6 +1,7 @@
 /* amok_bandwidth - Bandwidth test facilities                               */
 
-/* Copyright (c) 2003-2005 Martin Quinson. All rights reserved.             */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 26e4ca2..601e00d 100644 (file)
@@ -1,6 +1,7 @@
 /* amok_base - things needed in amok, but too small to constitute a module  */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2010. 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. */
index 1417522..4114487 100644 (file)
@@ -1,6 +1,7 @@
 /* amok peer management - servers main loop and remote peer stopping        */
 
-/* Copyright (c) 2006 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index 1c261a9..ce22412 100644 (file)
@@ -1,6 +1,7 @@
 /* gras.h - Public interface to the GRAS                                    */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 10a97fe..e8ed2bf 100644 (file)
@@ -1,6 +1,7 @@
 /* gras/datadesc.h - Describing the data you want to exchange               */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index e2c3bcc..8d96a86 100644 (file)
@@ -1,7 +1,8 @@
 /* gras/emul.h - public interface to emulation support                      */
 /*                (specific parts for SG or RL)                             */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2005, 2006, 2007, 2009, 2010. 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. */
index eabe610..a21e58e 100644 (file)
@@ -1,7 +1,8 @@
 /* messaging - high level communication (send/receive messages)             */
 /* module's public interface exported to end user.                          */
 
-/* Copyright (c) 2003-2007 Martin Quinson. All rights reserved.             */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 6c59081..300a054 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2004, 2006, 2007, 2009, 2010. 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. */
+
 
 #ifndef GRAS_MODULE_H
 #define GRAS_MODULE_H
index e556862..0449193 100644 (file)
@@ -1,6 +1,7 @@
 /* gras/process.h - Manipulating data related to an host.                   */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 1070482..bb266bd 100644 (file)
@@ -1,7 +1,8 @@
 /* timer - delayed and repetitive tasks                                     */
 /* module's public interface exported to end user.                          */
 
-/* Copyright (c) 2005 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2005, 2006, 2007, 2009, 2010. 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. */
index 68d9a1f..8ad34fd 100644 (file)
@@ -2,7 +2,8 @@
 /* transport - low level communication (send/receive bunches of bytes)      */
 /* module's public interface exported to end user.                          */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 42ca337..c7b8653 100644 (file)
@@ -1,6 +1,7 @@
 /* gras/virtu.h - public interface to virtualization (cross-OS portability) */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 4f3a2d8..b296c26 100644 (file)
@@ -1,14 +1,8 @@
-/*
- * instr.h
- *
- *  Created on: Nov 23, 2009
- *      Author: Lucas Schnorr
- *     License: 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.
- *
- *     Copyright (c) 2009 The SimGrid team.
- */
+/* Copyright (c) 2010. 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. */
 
 #ifndef INSTR_H_
 #define INSTR_H_
index 255b155..3415d07 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2002,2003,2004 Arnaud Legrand. All rights reserved.        */
+/* Copyright (c) 2004, 2005, 2007, 2008, 2009, 2010. 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. */
index 14cfc9a..8eaa724 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2002,2003,2004 Arnaud Legrand. All rights reserved.        */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 7634fad..5a9c6a2 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2007-2009 Da SimGrid Team.  All rights reserved.           */
+/* Copyright (c) 2006, 2008, 2009, 2010. 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. */
index baf0399..c52e515 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
+
 #ifndef SIMDAG_SIMDAG_H
 #define SIMDAG_SIMDAG_H
 
index e177954..b295aac 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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. */
+
 #ifndef MPI_H
 #define MPI_H
 
index efdcace..5d5dfb5 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
+
 #ifndef SMPI_H
 #define SMPI_H
 
index 157711a..1af0fd1 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2005 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index b00f11b..798b136 100644 (file)
@@ -1,6 +1,7 @@
 /* xbt.h - Public interface to the xbt (gras's toolbox)                   */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2009, 2010. 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. */
index dc6bac0..7173df7 100644 (file)
@@ -1,6 +1,7 @@
 /*  xbt/asserts.h -- assertion mecanism                                     */
 
-/* Copyright (c) 2004,2005 Martin Quinson. All rights reserved.             */
+/* Copyright (c) 2005, 2006, 2007, 2009, 2010. 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. */
index 426fabe..7437894 100644 (file)
@@ -2,7 +2,8 @@
 
 /* This is useful to build named structs, like option or property sets.     */
 
-/* Copyright (c) 2001,2002,2003,2004 Martin Quinson. All rights reserved.   */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 8a7babc..ba306a7 100644 (file)
@@ -1,6 +1,7 @@
 /* cunit - A little C Unit facility                                         */
 
-/* Copyright (c) 2005 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index c90afbe..3cd77d2 100644 (file)
@@ -1,6 +1,7 @@
 /* xbt/dict.h -- api to a generic dictionary                                */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index cd09cf9..a045e10 100644 (file)
@@ -1,6 +1,7 @@
 /* dynar - a generic dynamic array                                          */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 143370b..3b6a986 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 2455902..9bf172f 100644 (file)
@@ -1,8 +1,7 @@
 /* function_type.h - classical types for pointer to function                */
 
-/* Copyright (c) 2004-2006 Martin Quinson.                                  */
-/* Copyright (c) 2004 Arnaud Legrand.                                       */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index 4db15fc..e372232 100644 (file)
@@ -1,7 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2006 Darina Dimitrova, Arnaud Legrand.
-   All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index da56645..f70dbc4 100644 (file)
@@ -1,6 +1,7 @@
 /*     $Id $    */
 
-/* Copyright (c) 2006 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index 651aaba..a238d98 100644 (file)
@@ -2,8 +2,8 @@
 
 /* hash.h - Various hashing functions.                                      */
 
-/* Copyright (c) 2007, Martin Quinson.                                      */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2008, 2009, 2010. 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. */
index 16f5126..4b5e707 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index d4114d8..d22e627 100644 (file)
@@ -1,6 +1,7 @@
 /* log - a generic logging facility in the spirit of log4j                  */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 1de19a2..7049ac9 100644 (file)
@@ -1,6 +1,7 @@
 /* xbt/mallocator.h -- api to recycle allocated objects                     */
 
-/* Copyright (c) 2006 Christophe Thiery. All rights reserved.               */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index 7f84fa0..976e7d0 100644 (file)
@@ -1,6 +1,7 @@
 /* xbt_matrix_t management functions                                        */
 
-/* Copyright (c) 2006 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index a48059e..3b89b3e 100644 (file)
@@ -1,8 +1,7 @@
 /* xbt.h - Public interface to the xbt (gras's toolbox)                     */
 
-/* Copyright (c) 2004 Martin Quinson.                                       */
-/* Copyright (c) 2004 Arnaud Legrand.                                       */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 3b0445d..4dba2b8 100644 (file)
@@ -1,6 +1,7 @@
 /* module - modularize the code                                             */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index e00cedb..7c5b03d 100644 (file)
@@ -1,8 +1,7 @@
 /* peer.h - peer (remote processes) management functions                    */
 
-/* Copyright (c) 2006 Arnaud Legrand.                                       */
-/* Copyright (c) 2006 Martin Quinson.                                       */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index aede6cc..a3b846a 100644 (file)
@@ -1,7 +1,8 @@
 /* A (synchronized) message queue.                                          */
 /* Popping an empty queue is blocking, as well as pushing a full one        */
 
-/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 5f75b1e..a463a09 100644 (file)
@@ -1,6 +1,7 @@
 /* xbt/set.h -- api to a generic dictionary                                 */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 3ca39fa..ebe4c01 100644 (file)
@@ -1,7 +1,7 @@
 /* str.h - XBT string related functions.                                    */
 
-/* Copyright (c) 2004-7, Martin Quinson, Arnaud Legrand and  Cherier Malek. */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 7f945e8..8c63cd8 100644 (file)
@@ -2,8 +2,8 @@
 
 /* strbuff -- string buffers                                                */
 
-/* Copyright (c) 2007 Martin Quinson.                                       */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 82f723f..8a14e7e 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index a9e2773..cb7abd0 100644 (file)
@@ -1,7 +1,8 @@
 /* xbt/synchro.h -- Synchronization tools                                   */
 /* Usable in simulator, (or in real life when mixing with GRAS)             */
 
-/* Copyright (c) 2007-2009 Da SimGrid Team. All rights reserved.            */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 3103330..fadf8c5 100644 (file)
@@ -1,7 +1,8 @@
 /* xbt/synchro.h -- Synchronization tools                                   */
 /* Usable in simulator, (or in real life when mixing with GRAS)             */
 
-/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2009, 2010. 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. */
index 64eb191..efba50f 100644 (file)
@@ -2,7 +2,8 @@
 /*  no system header should be loaded out of this file so that we have only */
 /*  one file to check when porting to another OS                            */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 9f02570..2a7ebad 100644 (file)
@@ -1,7 +1,8 @@
 /* xbt/time.h -- Time tools                                                                                            */
 /* Usable in simulator, (or in real life when mixing with GRAS)             */
 
-/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 0154784..de872c7 100644 (file)
@@ -1,7 +1,7 @@
 /* virtu - virtualization layer for XBT to choose between GRAS and MSG implementation */
 
-/*  Copyright (c) 2007 Martin Quinson                                       */
-/*  All rights reserved.                                                    */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 9e8d41c..32e9890 100644 (file)
@@ -1,8 +1,7 @@
 /* amok_bandwidth - Bandwidth tests facilities                              */
 
-/* Copyright (c) 2003-6 Martin Quinson.                                     */
-/* Copyright (c) 2006   Ahmed Harbaoui.                                     */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 0b5854a..bd449f0 100644 (file)
@@ -2,7 +2,8 @@
 
 /* module's private interface masked even to other parts of AMOK.           */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 0e11a8e..21ec6fd 100644 (file)
@@ -1,6 +1,7 @@
 /* amok_saturate - Link saturating facilities (for ALNeM's BW testing)      */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 7394b32..dc8219d 100644 (file)
@@ -1,6 +1,7 @@
 /* amok peer management - servers main loop and remote peer stopping        */
 
-/* Copyright (c) 2006 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index dab5794..a1a8602 100644 (file)
@@ -1,6 +1,7 @@
 /* base - several addons to do specific stuff not in GRAS itself            */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2006, 2009, 2010. 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. */
index 16bb0b3..da66e51 100644 (file)
@@ -1,6 +1,7 @@
 /* amok modinter - interface to AMOK modules initialization and such        */
 
-/* Copyright (c) 2006 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2010. 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. */
index 7e442ff..6760fa2 100644 (file)
@@ -1,6 +1,7 @@
 /* SimGrid Lua bindings                                                     */
 
-/* Copyright (c) 2010, the SimGrid team. All right reserved.                */
+/* Copyright (c) 2010. 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. */
index 2aaf6dd..4ddbf61 100644 (file)
@@ -1,9 +1,9 @@
-/*
- * Copyright 2010. The SimGrid Team. All right 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.
- */
+/* Copyright (c) 2010. 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 "bindings/ruby_bindings.h"
 #include "surf/surfxml_parse.h"
 #include "msg/private.h" /* s_simdata_process_t FIXME: don't mess with MSG internals that way */
index 64f16b4..53b5d8d 100644 (file)
@@ -1,6 +1,7 @@
 /* Host-related bindings to ruby  */
 
-/* Copyright 2010. The SimGrid Team. All right reserved. */
+/* Copyright (c) 2010. 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. */
index 0666340..0820151 100644 (file)
@@ -1,10 +1,8 @@
-/*
- * Copyright 2010, The SimGrid Team. All right 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. 
- */
+/* Copyright (c) 2010. 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 "msg/private.h" /* s_simdata_process_t */
 #include "bindings/ruby_bindings.h"
index c6b734a..3fe4d8e 100644 (file)
@@ -1,6 +1,7 @@
 /* Task-related bindings to ruby  */
 
-/* Copyright 2010. The SimGrid Team. All right reserved. */
+/* Copyright (c) 2010. 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. */
index 2834169..23c9d5c 100644 (file)
@@ -1,6 +1,7 @@
 /* SimGrid Ruby bindings                                                    */
 
-/* Copyright (c) 2010, the SimGrid team. All right reserved.                */
+/* Copyright (c) 2010. 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. */
index 1733bad..076599f 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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 "rb_SD_task.h"
 
 // Free Method
index b308ccb..3a45924 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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. */
+
 #ifndef RB_SD_TASK_H
 #define RB_SD_TASK_H
 
index 2be055d..615a745 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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 "rb_SD_workstation.h"
 
 static void SD_workstation_free(SD_workstation_t wrk)
index 8fadfec..0c209d7 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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. */
+
 #ifndef RB_SD_WORKSTATION_H
 #define RB_SD_WORKSTATION_H
 
index 55aff59..0e2e06a 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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. */
+
 /* 
  * $Id$
  *
index 7f0dad4..7277ef4 100644 (file)
@@ -1,6 +1,7 @@
 /* SimGrid -- Ruby bindings */
 
-/* Copyright (c) 2010, the SimGrid team. All right reserved */
+/* Copyright (c) 2010. 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. */
index f95e5ae..b4867fa 100644 (file)
@@ -1,8 +1,7 @@
 /* cbps - persistant states for callbacks                                   */
 
-/* Copyright (c) 2003 Olivier Aumage.                                       */
-/* Copyright (c) 2003, 2004 Martin Quinson.                                 */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 1652e6c..127d386 100644 (file)
@@ -1,8 +1,7 @@
 /* datadesc - data description in order to send/recv it in GRAS             */
 
-/* Copyright (c) 2003 Olivier Aumage.                                       */
-/* Copyright (c) 2003, 2004 Martin Quinson.                                 */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 9222c59..c4a5b31 100644 (file)
@@ -2,9 +2,8 @@
 
 /* module's public interface exported within GRAS, but not to end user.     */
 
-/* Copyright (c) 2003 Olivier Aumage.                                       */
-/* Copyright (c) 2003, 2004 Martin Quinson.                                 */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index e214087..97c0445 100644 (file)
@@ -2,9 +2,8 @@
 
 /* module's private interface masked even to other parts of GRAS.           */
 
-/* Copyright (c) 2003 Olivier Aumage.                                       */
-/* Copyright (c) 2003, 2004 Martin Quinson.                                 */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 245a0fe..11e9f19 100644 (file)
@@ -1,8 +1,7 @@
 /* ddt_remote - Stuff needed to get datadescs about remote hosts            */
 
-/* Copyright (c) 2003 Olivier Aumage.                                       */
-/* Copyright (c) 2003, 2004 Martin Quinson.                                 */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2009, 2010. 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. */
index 720b5aa..2f1158e 100644 (file)
@@ -1,6 +1,7 @@
 /* ddt_new - creation/deletion of datatypes structs (private to this module)*/
 
-/* Copyright (c) 2003-2009 The SimGrid Team. All rights reserved.           */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 52cefa0..cecbcf8 100644 (file)
@@ -1,6 +1,7 @@
 /* ddt_exchange - send/recv data described                                  */
 
-/* Copyright (c) 2003-2009 The SimGrid Team.  All rights reserved.          */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index dbafd4b..d6e2e82 100644 (file)
@@ -1,8 +1,7 @@
 /* DataDesc/ddt_parse.c -- automatic parsing of data structures             */
 
-/* Copyright (c) 2003 Arnaud Legrand.                                       */
-/* Copyright (c) 2003, 2004 Martin Quinson.                                 */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index e9765d6..2336891 100644 (file)
@@ -516,7 +516,8 @@ int gras_ddt_parse__flex_debug = 0;
 #define YY_RESTORE_YY_MORE_OFFSET
 char *gras_ddt_parse_text;
 /* DataDesc/ddt_parse -- automatic parsing of data structures */
-/* Copyright (c) 2004 Arnaud Legrand, Martin Quinson. All rights reserved.  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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 "gras/DataDesc/datadesc_private.h"
index 9ab987b..0b81aff 100644 (file)
@@ -1,8 +1,7 @@
 /* ddt_parse.h -- automatic parsing of data structures                      */
 
-/* Copyright (c) 2003 Arnaud Legrand.                                       */
-/* Copyright (c) 2003, 2004 Martin Quinson.                                 */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2006, 2007, 2009, 2010. 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. */
index f3b62cb..0db380d 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* DataDesc/ddt_parse -- automatic parsing of data structures */
 
 /* Copyright (c) 2004 Arnaud Legrand, Martin Quinson. All rights reserved.  */
index 8a6109a..ed0b3dd 100644 (file)
@@ -1,6 +1,7 @@
 /* gras message exchanges                                                   */
 
-/* Copyright (c) 2003-2009. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 77bdf14..cb38072 100644 (file)
@@ -1,6 +1,7 @@
 /* Thread in charge of listening the network and queuing incoming messages  */
 
-/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 498ba9b..d9a6322 100644 (file)
@@ -1,7 +1,7 @@
 /* gras message types handling                                              */
 
-/* Copyright (c) 2003, 2004, 2005, 2006, 2007 Martin Quinson.               */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 216ba80..0511544 100644 (file)
@@ -1,7 +1,7 @@
 /* gras message types and callback registering and retrieving               */
 
-/* Copyright (c) 2003, 2004, 2005, 2006, 2007 Martin Quinson.               */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 819d9f1..9e968a4 100644 (file)
@@ -2,7 +2,8 @@
 
 /* module's public interface exported within GRAS, but not to end user.     */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 777eafe..ec64fe0 100644 (file)
@@ -2,7 +2,8 @@
 
 /* module's private interface masked even to other parts of GRAS.           */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 7a277cb..95925fb 100644 (file)
@@ -1,6 +1,7 @@
 /* messaging - Function related to messaging code specific to RL            */
 
-/* Copyright (c) 2003-2005 Martin Quinson. All rights reserved.             */
+/* Copyright (c) 2005, 2006, 2007, 2009, 2010. 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. */
index 4c42209..1bdad03 100644 (file)
@@ -1,6 +1,7 @@
 /* rpc - RPC implementation on top of GRAS messages                         */
 
-/* Copyright (c) 2005 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index 1923e4e..7a690bc 100644 (file)
@@ -1,6 +1,7 @@
 /* messaging - Function related to messaging code specific to SG            */
 
-/* Copyright (c) 2003-2005 Martin Quinson. All rights reserved.             */
+/* Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index b301735..ca596c3 100644 (file)
@@ -1,6 +1,7 @@
 /* timer - Delayed and repetitive actions                                   */
 
-/* Copyright (c) 2005 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2005, 2006, 2007, 2009, 2010. 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. */
index 46804da..7125039 100644 (file)
@@ -1,6 +1,7 @@
 /* rl_transport - RL specific functions for transport                       */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 013fed1..b61ea49 100644 (file)
@@ -1,6 +1,7 @@
 /* sg_transport - SG specific functions for transport                       */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 4c3d7ed..c993dce 100644 (file)
@@ -1,6 +1,7 @@
 /* transport - low level communication                                      */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index f09ad14..dcd12dc 100644 (file)
@@ -2,7 +2,8 @@
 
 /* module's public interface exported within GRAS, but not to end user.     */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index ebc6272..c112bb3 100644 (file)
@@ -1,6 +1,7 @@
 /* File transport - send/receive a bunch of bytes from a file               */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 9ac1ac7..8918cb4 100644 (file)
@@ -4,7 +4,8 @@
 /*  exchange in SG realm is implemented directly without mimicing real life */
 /*  This would be terribly unefficient.                                     */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index e16d632..114af0c 100644 (file)
@@ -1,6 +1,7 @@
 /* buf trp (transport) - buffered transport using the TCP one               */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 64598aa..bf2dd52 100644 (file)
@@ -2,7 +2,8 @@
 
 /* module's private interface masked even to other parts of GRAS.           */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 2e00518..7f8037e 100644 (file)
@@ -1,6 +1,7 @@
 /* module - module handling, along with module dependencies and local state */
 
-/* Copyright (C) 2006 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index d016e76..2f2b31d 100644 (file)
@@ -1,6 +1,7 @@
 /* process - GRAS process handling (common code for RL and SG)              */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index f237901..a92784b 100644 (file)
@@ -1,6 +1,7 @@
 /* rl_dns - name resolution (real life)                                     */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2005, 2009, 2010. 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. */
index 2200384..d0409a5 100644 (file)
@@ -1,6 +1,7 @@
 /* rl_emul - Emulation support (real life)                                  */
 
-/* Copyright (c) 2003-5 Arnaud Legrand, Martin Quinson. All rights reserved.*/
+/* Copyright (c) 2005, 2006, 2009, 2010. 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. */
index 8983110..c53275d 100644 (file)
@@ -1,6 +1,7 @@
 /* process_rl - GRAS process handling on real life                          */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 585a863..8482497 100644 (file)
@@ -1,6 +1,7 @@
 /* sg_dns - name resolution (simulator)                                     */
 
-/* Copyright (c) 2005 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2005, 2007, 2009, 2010. 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. */
index d7119f3..b6d371f 100644 (file)
@@ -1,6 +1,7 @@
 /* sg_emul - Emulation support (simulation)                                 */
 
-/* Copyright (c) 2003-5 Arnaud Legrand, Martin Quinson. All rights reserved.*/
+/* Copyright (c) 2005, 2006, 2007, 2009, 2010. 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. */
index df308e2..d6497b0 100644 (file)
@@ -1,6 +1,7 @@
 /* process_sg - GRAS process handling on simulator                          */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index c8cb7de..5623091 100644 (file)
@@ -2,7 +2,8 @@
 
 /* module's public interface exported within GRAS, but not to end user.     */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 4f761ac..f3f901e 100644 (file)
@@ -2,7 +2,8 @@
 
 /* module's private interface.                                              */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 7d36ed4..f8af952 100644 (file)
@@ -1,6 +1,7 @@
 /* virtu_rl - specific GRAS implementation for real life                    */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2010. 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. */
index d9e291d..c1a57a9 100644 (file)
@@ -1,6 +1,7 @@
 /* virtu_sg - specific GRAS implementation for simulator                    */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 5c7f6ed..6d1a53f 100644 (file)
@@ -1,7 +1,7 @@
 /* gras.c -- generic functions not fitting anywhere else                    */
 
-/* Copyright (c) 2003, 2004 Martin Quinson.                                 */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index abd9238..fd3ad94 100644 (file)
@@ -1,7 +1,7 @@
 /* rl_stubs.c -- empty body of functions used in SG, but harmful in RL       */
 
-/* Copyright (c) 2007 Martin Quinson.                                       */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 1ec1d7d..4de0a5e 100644 (file)
@@ -1,6 +1,7 @@
 /* gras_modinter.h - How to init/exit the GRAS modules                      */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index a20d799..178b418 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2009, 2010. 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. */
+
 #ifndef XBT_CONTEXT_H
 #define XBT_CONTEXT_H
 
index 863070d..399b101 100644 (file)
@@ -1,7 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2007 Arnaud Legrand, Bruno Donnassolo.
-   All rights reserved.                                          */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 2392b6b..7b9cb19 100644 (file)
@@ -1,7 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2007 Arnaud Legrand, Bruno Donnassolo.
-   All rights reserved.                                          */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 1cc0de5..994c96d 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2009 The SimGrid team. All rights reserved.                */
+/* Copyright (c) 2009, 2010. 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. */
index bf6f577..5fb85ba 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index b261a59..3a75dd4 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
+
 #ifndef _SURF_RMGR_H
 #define _SURF_RMGR_H
 
index 633714c..3de212b 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 23847f4..78afcd7 100644 (file)
@@ -1,5 +1,6 @@
 
-/* Copyright (c) 2009 The SimGrid Team. All rights reserved.                */
+/* Copyright (c) 2009, 2010. 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. */
index 48feddc..37c437c 100644 (file)
@@ -1,5 +1,6 @@
 
-/* Copyright (c) 2009 The SimGrid Team. All rights reserved.                */
+/* Copyright (c) 2009, 2010. 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. */
index ab389d8..019c175 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index 64a7a89..51ed11d 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 2c43f3b..03f45a2 100644 (file)
@@ -1,6 +1,7 @@
 /* xbt/xbt_thread.h -- Thread portability layer                             */
 
-/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index fc48693..e9f30e4 100644 (file)
@@ -1,7 +1,8 @@
 /*  xbt/xbt_portability.h -- all system dependency                          */
 /* Private portability layer                                                */
 
-/* Copyright (c) 2004,2005 Martin Quinson. All rights reserved.             */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 219f62a..cb90a79 100644 (file)
@@ -1,14 +1,8 @@
-/*
- * general.c
- *
- *  Created on: Nov 23, 2009
- *      Author: Lucas Schnorr
- *     License: 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.
- *
- *     Copyright (c) 2009 The SimGrid team.
- */
+/* Copyright (c) 2010. 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 "instr/private.h"
 
index 41c6d05..7435699 100644 (file)
@@ -1,14 +1,8 @@
-/*
- * interface.c
- *
- *  Created on: Nov 23, 2009
- *      Author: Lucas Schnorr
- *     License: 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.
- *
- *     Copyright (c) 2009 The SimGrid team.
- */
+/* Copyright (c) 2010. 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 "instr/private.h"
 
index e4e361b..86875a4 100644 (file)
@@ -1,14 +1,8 @@
-/*
- * msg_process_instr.c
- *
- *  Created on: Feb 24, 2010
- *      Author: Lucas Schnorr
- *     License: 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.
- *
- *     Copyright (c) 2009 The SimGrid team.
- */
+/* Copyright (c) 2010. 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 "instr/private.h"
 
index 96ab84e..090fa9d 100644 (file)
@@ -1,14 +1,8 @@
-/*
- * msg.c
- *
- *  Created on: Nov 24, 2009
- *      Author: Lucas Schnorr
- *     License: 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.
- *
- *     Copyright (c) 2009 The SimGrid team.
- */
+/* Copyright (c) 2010. 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 "instr/private.h"
 
index 7a7710e..5253b57 100644 (file)
@@ -1,14 +1,8 @@
-/*
- * general.c
- *
- *  Created on: Oct 7, 2009
- *      Author: Lucas Schnorr
- *     License: 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.
- *
- *     Copyright (c) 2009 The SimGrid team.
- */
+/* Copyright (c) 2010. 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 "instr/private.h"
 
index b4ebdcf..a2b9663 100644 (file)
@@ -1,14 +1,8 @@
-/*
- * private.h
- *
- *  Created on: Nov 23, 2009
- *      Author: Lucas Schnorr
- *     License: 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.
- *
- *     Copyright (c) 2009 The SimGrid team.
- */
+/* Copyright (c) 2010. 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. */
 
 #ifndef INSTR_PRIVATE_H_
 #define INSTR_PRIVATE_H_
index 6c996d5..cd69d8e 100644 (file)
@@ -1,14 +1,8 @@
-/*
- * smx.c
- *
- *  Created on: Nov 24, 2009
- *      Author: Lucas Schnorr
- *     License: 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.
- *
- *     Copyright (c) 2009 The SimGrid team.
- */
+/* Copyright (c) 2010. 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 "instr/private.h"
 
index a81f320..99e6cb2 100644 (file)
@@ -1,14 +1,8 @@
-/*
- * surf.c
- *
- *  Created on: Nov 27, 2009
- *      Author: Lucas Schnorr
- *     License: 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.
- *
- *     Copyright (c) 2009 The SimGrid team.
- */
+/* Copyright (c) 2010. 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 "instr/private.h"
 
index 7b6be99..b69ee94 100644 (file)
@@ -1,14 +1,8 @@
-/*
- * variables_instr.c
- *
- *  Created on: Feb 23, 2010
- *      Author: Lucas Schnorr
- *     License: 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.
- *
- *     Copyright (c) 2009 The SimGrid team.
- */
+/* Copyright (c) 2010. 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 "instr/private.h"
 #include "surf/surf_private.h"
index d7fcb2d..c4e40da 100644 (file)
@@ -1,14 +1,11 @@
-/*
- * $Id$
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier All right 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.
- *
- * This contains the implementation of the wrapper functions used to interface
- * the java object with the native functions of the MSG API.
- */
+/* Java Wrappers to the MSG API.                                            */
+
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 "msg/msg.h"
 #include "msg/private.h"
 #include "simix/private.h"
index 3fbb9bf..0d0d7a1 100644 (file)
@@ -1,14 +1,10 @@
-/*
- * $Id$
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier All right 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.
- *
- * This contains the declarations of the wrapper functions used to interface
- * the java object with the native functions of the MSG API.
- */
+/* Java Wrappers to the MSG API.                                            */
+
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
 
 #ifndef MSG4JAVA_H
 #define MSG4JAVA_H
index 075a786..f3de817 100644 (file)
@@ -1,11 +1,11 @@
-/*
- * Copyright 2006,2007,2010 Da SimGrid Team.
- *
- * 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.
- *
- * Upcalls to the Java functions used as callback to the FleXML application file parser.
- */
+/* Upcalls to the Java functions used as callback to the FleXML parser.     */
+  
+/* Copyright (c) 2008, 2009, 2010. 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 "jmsg_application_handler.h"
 
 #include "jmsg.h"
index 6fef706..71dcf36 100644 (file)
@@ -1,23 +1,21 @@
-/*\r
- * Copyright 2006,2007,2010 Da SimGrid Team.\r
- *\r
- * This program is free software; you can redistribute it and/or modify it \r
- * under the terms of the license (GNU LGPL) which comes with this package.\r
- *\r
- * Upcalls to the Java functions used as callback to the FleXML application file parser.\r
- *\r
- */  \r
-  \r
-#ifndef MSG_JAPPLICATION_HANDLER_H\r
-#define MSG_JAPPLICATION_HANDLER_H\r
-  \r
-#include <jni.h>\r
-#include "msg/msg.h"\r
-\rvoid japplication_handler_on_start_document(void);
-\rvoid japplication_handler_on_end_document(void);
-\rvoid japplication_handler_on_begin_process(void);
-\rvoid japplication_handler_on_process_arg(void);
-\rvoid japplication_handler_on_property(void);
-\rvoid japplication_handler_on_end_process(void);
-\r\r\r
-#endif  /* !MSG_JAPPLICATION_HANDLER_H */\r
+/* Upcalls to the Java functions used as callback to the FleXML parser.     */
+  
+/* Copyright (c) 2008, 2009, 2010. 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. */
+
+#ifndef MSG_JAPPLICATION_HANDLER_H
+#define MSG_JAPPLICATION_HANDLER_H
+  
+#include <jni.h>
+#include "msg/msg.h"
+void japplication_handler_on_start_document(void);
+void japplication_handler_on_end_document(void);
+void japplication_handler_on_begin_process(void);
+void japplication_handler_on_process_arg(void);
+void japplication_handler_on_property(void);
+void japplication_handler_on_end_process(void);
+
+#endif  /* !MSG_JAPPLICATION_HANDLER_H */
index e73e86b..26edfa2 100644 (file)
@@ -1,14 +1,10 @@
-/*
- * $Id$
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier All right 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.
- *
- * This contains the implementation of the functions in relation with the java
- * host instance. 
- */
+/* Functions related to the java host instances.                            */
+
+/* Copyright (c) 2007, 2009, 2010. 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 "xbt/str.h"
 #include "jmsg.h"
index 4a3b308..e6574f1 100644 (file)
@@ -1,14 +1,10 @@
-/*
- * $Id$
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier All right 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.
- *
- * This contains the declarations of the functions in relation with the java
- * host instance.
- */
+/* Functions related to the java host instances.                            */
+
+/* Copyright (c) 2007, 2009, 2010. 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. */
 
 #ifndef MSG_JHOST_H
 #define MSG_JHOST_H
index 4c774e8..c42080f 100644 (file)
@@ -1,14 +1,10 @@
-/*
- * $Id$
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier All right 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.
- *
- * This contains the implementation of the functions in relation with the java
- * process instance. 
- */
+/* Functions related to the java process instances.                         */
+
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 "jmsg_process.h"
 #include "jmsg.h"
index 5056c45..8a2aef8 100644 (file)
@@ -1,14 +1,10 @@
-/*
- * $Id$
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier All right 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.
- *
- * This contains the declarations of the functions in relation with the java
- * process instance.
- */
+/* Functions related to the java process instances.                         */
+
+/* Copyright (c) 2007, 2009, 2010. 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. */
 
 #ifndef MSG_JPROCESS_H
 #define MSG_JPROCESS_H
index af5ae1e..8ce5de8 100644 (file)
@@ -1,14 +1,10 @@
-/*
- * $Id$
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier All right 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.
- *
- * This contains the implementation of the functions in relation with the java
- * task instance. 
- */
+/* Functions related to the java task instances.                            */
+
+/* Copyright (c) 2007, 2009, 2010. 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 "jmsg.h"
 #include "jmsg_task.h"
index 9e9e0dc..30c014e 100644 (file)
@@ -1,14 +1,10 @@
-/*
- * $Id$
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier All right 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.
- *
- * This contains the declarations of the functions in relation with the java
- * task instance.
- */
+/* Functions related to the java task instances.                            */
+
+/* Copyright (c) 2007, 2009, 2010. 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. */
 
 #ifndef MSG_JTASK_H
 #define MSG_JTASK_H
index 43047a6..af7153c 100644 (file)
@@ -1,14 +1,10 @@
-/*
- * $Id$
- *
- * Various JNI helper functions
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier All right 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.
- *
- */
+/* Various JNI helper functions                                             */
+
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 <stdlib.h>             /* abort */
 #include "xbt/misc.h"
index fc801a3..6563f56 100644 (file)
@@ -1,14 +1,10 @@
-/*
- * $Id$
- *
- * Various JNI helper functions
- *
- * Copyright 2006,2007 Martin Quinson, Malek Cherier All right 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.
- *
- */
+/* Various JNI helper functions                                             */
+
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
 
 #ifndef JXBT_UTILITY_H
 #define JXBT_UTILITY_H
index 93691d6..9d662f2 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (c) 2002-2007 Arnaud Legrand.                                  */
-/* Copyright (c) 2007 Bruno Donassolo.                                      */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index beb4dfa..8d17dc0 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (c) 2002-2007 Arnaud Legrand.                                  */
-/* Copyright (c) 2007 Bruno Donassolo.                                      */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 6f1c490..6dc3f3b 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (c) 2002-2007 Arnaud Legrand.                                  */
-/* Copyright (c) 2007 Bruno Donassolo.                                      */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 16db861..4e90b14 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (c) 2002-2007 Arnaud Legrand.                                  */
-/* Copyright (c) 2007 Bruno Donassolo.                                      */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index d6d2b49..8cf3541 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (c) 2002-2007 Arnaud Legrand.                                  */
-/* Copyright (c) 2007 Bruno Donassolo.                                      */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 595b9a9..185a1ed 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (c) 2002-2007 Arnaud Legrand.                                  */
-/* Copyright (c) 2007 Bruno Donassolo.                                      */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 6e577fe..ffb8c3c 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2008, 2009, 2010. 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. */
+
 #ifndef SMX_MAILBOX_H
 #define SMX_MAILBOX_H
 
index 58f96b0..b7ca375 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2009 The SimGrid team. All rights reserved.                */
+/* Copyright (c) 2009, 2010. 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. */
index f62ff38..999e6cf 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (c) 2002-2007 Arnaud Legrand.                                  */
-/* Copyright (c) 2007 Bruno Donassolo.                                      */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2005, 2006, 2007, 2009, 2010. 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. */
index ce0a8f6..a70973f 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (c) 2002-2007 Arnaud Legrand.                                  */
-/* Copyright (c) 2007 Bruno Donassolo.                                      */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 1d43ecf..2b3aaaa 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (c) 2002-2007 Arnaud Legrand.                                  */
-/* Copyright (c) 2007 Bruno Donassolo.                                      */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 12525aa..7a71ee0 100644 (file)
@@ -1,7 +1,8 @@
 /* portable -- header loading to write portable code                         */
 /* loads much more stuff than sysdep.h since the latter is in public interface*/
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                   */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index d935fd5..9a90996 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2007-2009 Da SimGrid Team.  All rights reserved.           */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index a9e0a5c..f1a270e 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2009 Da SimGrid Team.  All rights reserved.                */
+/* Copyright (c) 2009, 2010. 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. */
index ac344b3..093b77e 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2007-2009 Da SimGrid Team.  All rights reserved.           */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index 9938c71..ed84a8b 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2007-2009 Da SimGrid Team.  All rights reserved.           */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index 42e71c0..1196233 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2007-2009 Da SimGrid Team.  All rights reserved.           */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index 4c5018d..9e9b2a8 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2007-2009 Da SimGrid Team.  All rights reserved.           */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index feea909..6e7b328 100644 (file)
@@ -1,7 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2007 Arnaud Legrand, Bruno Donnassolo.
-   All rights reserved.                                          */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index b4a3b67..7386751 100644 (file)
@@ -1,7 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2007 Arnaud Legrand, Bruno Donnassolo.
-   All rights reserved.                                          */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 601736e..7bc68a7 100644 (file)
@@ -1,7 +1,7 @@
 /* a fast and simple context switching library                              */
 
-/* Copyright (c) 2004-2008 the SimGrid team.                                */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2009, 2010. 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. */
index a36e83b..88b7875 100644 (file)
@@ -1,6 +1,7 @@
 /* context_base - Code factorization accross context switching implementations */
 
-/* Copyright (c) 2010 the SimGrid team. All right reserved */
+/* Copyright (c) 2010. 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. */
index 16dc2d9..87139b6 100644 (file)
@@ -1,6 +1,7 @@
 /* context_java - implementation of context switching for java threads */
 
-/* Copyright (c) 2007-2008 the SimGrid team. All right reserved */
+/* Copyright (c) 2009, 2010. 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. */
index b43ab35..5bcb8ed 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2009, 2010. 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. */
+
 #ifndef _XBT_CONTEXT_JAVA_H
 #define _XBT_CONTEXT_JAVA_H
 
index 2218c5b..2d1b5c3 100644 (file)
@@ -1,6 +1,7 @@
 /* context_lua - implementation of context switching with lua coroutines */
 
-/* Copyright (c) 2010 the SimGrid team. All right reserved */
+/* Copyright (c) 2010. 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. */
index d2e0ef2..3769c9b 100644 (file)
@@ -1,7 +1,7 @@
 /* a fast and simple context switching library                              */
 
-/* Copyright (c) 2004-2008 the SimGrid team.                                */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2009, 2010. 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. */
index f54caf6..f3361d1 100644 (file)
@@ -1,6 +1,7 @@
 /* context_Ruby - implementation of context switching with/for ruby         */
 
-/* Copyright (c) 2010, the SimGrid team. All right reserved.                */
+/* Copyright (c) 2010. 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. */
index 844f175..9f07c24 100644 (file)
@@ -1,6 +1,7 @@
 /* context_sysv - context switching with ucontextes from System V           */
 
-/* Copyright (c) 2004-2010 the SimGrid team. All right reserved             */
+/* Copyright (c) 2009, 2010. 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. */
index 47d8096..d98d79a 100644 (file)
@@ -1,6 +1,7 @@
 /* Functions of sysv context mecanism: lua inherites them                   */
 
-/* Copyright (c) 2004-2010 the SimGrid team. All rights reserved.           */
+/* Copyright (c) 2010. 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. */
index 75d998f..5159391 100644 (file)
@@ -1,6 +1,7 @@
 /* context_thread - implementation of context switching with native threads */
 
-/* Copyright (c) 2004-2008 the SimGrid team. All right reserved */
+/* Copyright (c) 2009, 2010. 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. */
index e8c4192..54ae08a 100644 (file)
@@ -1,7 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2007 Arnaud Legrand, Bruno Donassolo.
-   All rights reserved.                                          */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 5a40557..dd51dd0 100644 (file)
@@ -1,7 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2007 Arnaud Legrand, Bruno Donnassolo.
-   All rights reserved.                                          */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 7df72d6..c82f0ce 100644 (file)
@@ -1,7 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2007 Arnaud Legrand, Bruno Donassolo.
-   All rights reserved.                                          */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 699c67e..9a19d08 100644 (file)
@@ -1,7 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2007 Arnaud Legrand, Bruno Donassolo.
-   All rights reserved.                                          */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 941dcce..0b48fa6 100644 (file)
@@ -1,7 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2009 Cristian Rosa.
-   All rights reserved.                                          */
+/* Copyright (c) 2009, 2010. 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. */
index 4b74ffe..f3096b9 100644 (file)
@@ -1,4 +1,5 @@
-//* Copyright (c) 2002,2003,2004 Arnaud Legrand. All rights reserved.        */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 77170c5..1aaacc5 100644 (file)
@@ -1,7 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2007 Arnaud Legrand, Bruno Donnassolo.
-   All rights reserved.                                          */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 4a5eccd..1265260 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2009, 2010. 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. */
+
 #ifndef SMPI_PRIVATE_H
 #define SMPI_PRIVATE_H
 
index b71c1a6..d939385 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2009, 2010. 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 <stdio.h>
 #include <mpi.h>
 
index a60f209..da3f389 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 "private.h"
 #include "xbt/time.h"
 
index 295f8ce..c449dfb 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2009, 2010. 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 "private.h"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_bench, smpi,
index 874d32a..d1984b0 100644 (file)
@@ -1,12 +1,10 @@
-/* $Id$tag */
-
 /* smpi_coll.c -- various optimized routing for collectives                   */
 
-/* Copyright (c) 2009 Stephane Genaud.                                        */
-/* All rights reserved.                                                       */
+/* Copyright (c) 2009, 2010. 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. */
+ * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include <stdio.h>
 #include <string.h>
index 13b1a5d..d0c3022 100644 (file)
@@ -1,9 +1,9 @@
-/**
- * $Id$tag
- *
- * smpi_coll_private.h -- functions of smpi_coll.c that are exported to other SMPI modules.
- *
- *
- *
- **/
+/* smpi_coll_private.h -- functions of smpi_coll.c that are exported to other SMPI modules. */
+
+/* Copyright (c) 2009, 2010. 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 "private.h"
index 59aa85d..7b6b34c 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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 "private.h"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_comm, smpi,
index 9a277df..dc7edf4 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 <stdint.h>
 
 #include "private.h"
index 0d7b4f8..a61e374 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2010. 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 "private.h"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_group, smpi,
index 60bbfd6..fa6bcd9 100644 (file)
@@ -1,4 +1,8 @@
-/* $Id$tag */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 "private.h"
 #include "smpi_coll_private.h"
index f2453c0..d553e0d 100644 (file)
@@ -1,15 +1,11 @@
-/* $Id$tag */
-
 /* smpi_mpi_dt.c -- MPI primitives to handle datatypes                        */
+/* FIXME: a very incomplete implementation                                    */
 
-/* Note: a very incomplete implementation                                     */
-
-/* Copyright (c) 2009 Stephane Genaud.                                        */
-/* All rights reserved.                                                       */
+/* Copyright (c) 2009, 2010. 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. */
-
+  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include <stdio.h>
 #include <stdlib.h>
index 21df279..5034bb3 100644 (file)
@@ -1,9 +1,12 @@
-/**
- * $Id: $tag
- *
- * smpi_mpi_dt_private.h -- functions of smpi_mpi_dt.c that are exported to other SMPI modules.
- *
- **/
+/* smpi_mpi_dt_private.h -- functions of smpi_mpi_dt.c that are exported to other SMPI modules. */
+
+/* Copyright (c) 2009, 2010. 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 "private.h"
 
 #define DT_FLAG_DESTROYED     0x0001  /**< user destroyed but some other layers still have a reference */
index 1e2fb2c..29f570b 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2009, 2010. 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 "private.h"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_util, smpi,
index fb6e449..07761ee 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 6686c4a..694b8e8 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2009, 2010. 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. */
index 7ce67d0..a3bfa2f 100644 (file)
@@ -1,7 +1,6 @@
 
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2009, 2010. 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. */
index e2014f2..a99988b 100644 (file)
@@ -1,7 +1,6 @@
 
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2009, 2010. 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. */
index 47c070b..d707587 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$ */
-
-/* Copyright (c) 2007 Arnaud Legrand. All rights reserved.               */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 675968d..10a358c 100644 (file)
@@ -1,5 +1,5 @@
-/*     $Id$     */
-/* Copyright (c) 2007 Kayo Fujiwara. All rights reserved.                  */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index dd36525..9a88c74 100644 (file)
@@ -1,5 +1,5 @@
-/*     $Id$     */
-/* Copyright (c) 2007 Kayo Fujiwara. All rights reserved.                  */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index f3a2bcc..d73d6b1 100644 (file)
@@ -1,6 +1,7 @@
 /* $ID$ */
 
-/* Copyright (c) 2007 Kayo Fujiwara. All rights reserved.                  */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index 8b38dbf..f46883e 100644 (file)
@@ -1,7 +1,9 @@
-/*     $Id$     */
-/* Copyright (c) 2007 Arnaud Legrand, Pedro Velho. All rights reserved.     */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
+
 /*
  * Modelling the proportional fairness using the Lagrange Optimization 
  * Approach. For a detailed description see:
index e0d093b..027fca4 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 7d02bd7..6195bbe 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 8a9c9ce..de86cc0 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 74a319b..10e25fd 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2008, 2009, 2010. 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. */
index 756f780..11e6089 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2005 Henri Casanova. All rights reserved.                  */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 2a6534c..f712870 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 137203a..dd9a6f2 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2007, 2008, 2009, 2010. 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. */
index 2d820c9..3be1d31 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2010. 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. */
index f22b26b..f098226 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 "surf/random_mgr.h"
 #include "xbt/sysdep.h"
 
index a211395..b33f395 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index d77ca45..7a5734d 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2009 The SimGrid Team. All rights reserved.                */
+/* Copyright (c) 2009, 2010. 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. */
index 420687a..7446e4f 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2009-2010 The SimGrid team. All rights reserved.           */
+/* Copyright (c) 2009, 2010. 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. */
index 2e9700e..7713410 100644 (file)
@@ -1,5 +1,6 @@
 
-/* Copyright (c) 2009 The SimGrid Team. All rights reserved.                */
+/* Copyright (c) 2009, 2010. 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. */
index d0d77cd..5a448d1 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2005 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2009, 2010. 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. */
index 7d0d1a3..276cb4c 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index a06925c..fef83e4 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2009 The SimGrid team. All rights reserved.                */
+/* Copyright (c) 2009, 2010. 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. */
index 0384741..f312e78 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index 7cc1226..fba9362 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2007, 2009, 2010. 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. */
index 0083cb9..c3c6120 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2007, 2009, 2010. 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. */
index b859aa3..5200b00 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 6b7e0aa..7fbc8e9 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2007 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 840d627..ef101bb 100644 (file)
@@ -3,7 +3,8 @@
 
 /* borland.h - simgrid config for Borland C++ Builder   */
 
-/* Copyright (c) 2003, 2004 Cherier Malek. All rights reserved.            */
+/* Copyright (c) 2006, 2007, 2010. 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. */
index 12b61f1..2c044a7 100644 (file)
@@ -4,7 +4,8 @@
 
 /* select_compiler_features.h - compiler features selection    */
 
-/* Copyright (c) 2003, 2004 Cherier Malek. All rights reserved.            */
+/* Copyright (c) 2006, 2007, 2010. 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. */
index 0ed25e8..bff6a33 100644 (file)
@@ -3,7 +3,8 @@
 
 /* borland.h - simgrid config for Borland C++ Builder   */
 
-/* Copyright (c) 2003, 2004 Cherier Malek. All rights reserved.            */
+/* Copyright (c) 2007, 2008, 2010. 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. */
index 78b1b3a..f80fd22 100644 (file)
@@ -4,7 +4,8 @@
 
 /* config.h - simgrid config selection for windows platforms. */
 
-/* Copyright (c) 2003, 2004 Cherier Malek. All rights reserved.            */
+/* Copyright (c) 2006, 2007, 2008, 2010. 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. */
index 6ed34f1..92830d7 100644 (file)
@@ -4,7 +4,8 @@
 
 /* select_platform_features.h - platform features selection    */
 
-/* Copyright (c) 2003, 2004 Cherier Malek. All rights reserved.            */
+/* Copyright (c) 2006, 2010. 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. */
index afb6325..e70f983 100644 (file)
@@ -1,6 +1,7 @@
 /*  xbt/asserts.h -- assertion mechanism                                     */
 
-/* Copyright (c) 2004,2005 Martin Quinson. All rights reserved.             */
+/* Copyright (c) 2005, 2008, 2009, 2010. 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. */
index 823f685..a4ba715 100644 (file)
@@ -2,7 +2,8 @@
 
 /* backtrace_dummy -- stubs of this module for non-supported archs          */
 
-/* Copyright (c) 2003-2008, Da SimGrid team. All rights reserved.           */
+/* Copyright (c) 2008, 2009, 2010. 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. */
index 89e229f..acdf28c 100644 (file)
@@ -1,10 +1,8 @@
-/* $Id: ex.c 5173 2008-01-07 22:10:52Z mquinson $ */
-
 /* backtrace_linux - backtrace displaying on linux platform                 */
 /* This file is included by ex.c on need (have execinfo.h, popen & addrline)*/
 
-/*  Copyright (c) 2007 The SimGrid team                                     */
-/*  All rights reserved.                                                    */
+/* Copyright (c) 2008, 2009, 2010. 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. */
index 34c2d18..edfc31b 100644 (file)
@@ -1,8 +1,8 @@
 /* backtrace_windows - backtrace displaying on windows platform             */
 /* This file is included by ex.c on need (windows x86)                      */
 
-/*  Copyright (c) 2007 The SimGrid team                                     */
-/*  All rights reserved.                                                    */
+/* Copyright (c) 2008, 2009, 2010. 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. */
index f8f3840..442c3a2 100644 (file)
@@ -2,7 +2,8 @@
 
 /* This is useful to build named structs, like option or property sets.     */
 
-/* Copyright (c) 2001,2002,2003,2004 Martin Quinson. All rights reserved.   */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 8b9204c..4572af1 100644 (file)
@@ -1,6 +1,7 @@
 /* cunit - A little C Unit facility                                         */
 
-/* Copyright (c) 2005 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 21b8f60..150bf69 100644 (file)
@@ -1,6 +1,7 @@
 /* dict - a generic dictionary, variation over hash table                   */
 
-/* Copyright (c) 2003-2010 Martin Quinson. All rights reserved.             */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index b64b6bb..5aad0a5 100644 (file)
@@ -1,6 +1,7 @@
 /* dict_cursor - iterators over dictionnaries                               */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 497cf51..9297ce5 100644 (file)
@@ -1,6 +1,7 @@
 /* dict - a generic dictionary, variation over the B-tree concept           */
 
-/* Copyright (c) 2003-2009 The SimGrid team. All rights reserved.           */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 4a55591..93e0104 100644 (file)
@@ -1,6 +1,7 @@
 /* dict_multi - dictionnaries of dictionnaries of ... of data               */
 
-/* Copyright (c) 2003-2005 Martin Quinson. All rights reserved.             */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index f89f743..0096394 100644 (file)
@@ -1,7 +1,8 @@
 /* dict_elm - elements of generic dictionnaries                             */
 /* This file is not to be loaded from anywhere but dict.c                   */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 9cdc39f..67ef048 100644 (file)
@@ -1,6 +1,7 @@
 /* a generic DYNamic ARray implementation.                                  */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 6a06ad8..24abc68 100644 (file)
@@ -1,10 +1,10 @@
 /* error - Error handling functions                                         */
 
-/* Authors: Martin Quinson                                                  */
-/* Copyright (C) 2001,2002,2003,2004 the OURAGAN project.                   */
+/* Copyright (c) 2004, 2005, 2006, 2008, 2010. 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. */
* under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/sysdep.h"
 
index 56d3dbc..6723c05 100644 (file)
@@ -2,7 +2,8 @@
 /* This file is to loaded in any location defining exception handlers       */
 /* (such as context.c) or in gras transport layer, to exchange them.        */
 
-/* Copyright (c) 2003, 2004, 2007 Martin Quinson. All rights reserved.      */
+/* Copyright (c) 2006, 2007, 2009, 2010. 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. */
index ba7c0b2..4eb49dd 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index b8a74ef..0259380 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2009, 2010. 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. */
index b51fb15..f776c5e 100644 (file)
@@ -1,7 +1,7 @@
 /* a generic graph library.                                                 */
 
-/* Copyright (c) 2006 Darina Dimitrova, Arnaud Legrand.                     */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index 4f6645a..9958c8d 100644 (file)
@@ -1,7 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2006 Darina Dimitrova, Arnaud Legrand. 
-   All rights reserved.                  */
+/* Copyright (c) 2006, 2009, 2010. 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. */
index d251761..01198fa 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2006 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index 84eedac..8032737 100644 (file)
@@ -1,8 +1,7 @@
-/*     $Id$     */
-
 /* a generic and efficient heap                                             */
 
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2007, 2008, 2009, 2010. 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. */
index a426393..521b17d 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2007, 2009, 2010. 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. */
index 79d27c1..b755110 100644 (file)
@@ -1,6 +1,7 @@
 /* log - a generic logging facility in the spirit of log4j                  */
 
-/* Copyright (c) 2003-2007 Martin Quinson. All rights reserved.             */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 1680b59..204e5cb 100644 (file)
@@ -1,6 +1,7 @@
 /* $Id: log.c 4794 2007-10-10 12:38:37Z mquinson $ */
 
-/* Copyright (c) 2003-2007 Martin Quinson. All rights reserved.             */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 460dda8..ebc063b 100644 (file)
@@ -1,6 +1,7 @@
 /* mallocator - recycle objects to avoid malloc() / free()                  */
 
-/* Copyright (c) 2006 Christophe Thiery. All rights reserved.               */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index 952564c..dd46527 100644 (file)
@@ -1,6 +1,7 @@
 /* mallocator - recycle objects to avoid malloc() / free()                  */
 
-/* Copyright (c) 2006 Christophe Thiery. All rights reserved.               */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index 27f9aae..c5d8465 100644 (file)
@@ -1,6 +1,7 @@
 /* set - data container consisting in dict+dynar                            */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 4b211c1..9d69e43 100644 (file)
@@ -1,6 +1,5 @@
-/*     $Id$     */
-
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 17b3a67..d27db25 100644 (file)
@@ -1,6 +1,7 @@
 /* file_appender - a dumb log appender which simply prints to stdout        */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 1b9c6ad..0baafcb 100644 (file)
@@ -1,6 +1,7 @@
 /* layout_simple - a dumb log layout                                        */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index ee1a74b..277ea18 100644 (file)
@@ -1,6 +1,7 @@
 /* layout_simple - a dumb log layout                                        */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 3046752..da053ee 100644 (file)
@@ -1,6 +1,7 @@
 /* module handling                                                          */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index df43f44..fabd5a3 100644 (file)
@@ -1,6 +1,7 @@
 /* xbt_matrix_t management functions                                        */
 
-/* Copyright (c) 2006 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index d47334d..55be50b 100644 (file)
@@ -2,8 +2,8 @@
 /* Used in RL to get win/lin portability, and in SG when CONTEXT_THREAD     */
 /* in SG, when using CONTEXT_UCONTEXT, xbt_os_thread_stub is used instead   */
 
-/* Copyright 2006,2007 Malek Cherier, Martin Quinson
- * All right reserved.                                                      */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 2846315..0345e0f 100644 (file)
@@ -1,6 +1,7 @@
 /* xbt_os_time.c -- portable interface to time-related functions            */
 
-/* Copyright (c) 2004-2008 The SimGrid team. All rights reserved.           */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 53e9004..a462588 100644 (file)
@@ -1,6 +1,7 @@
 /* xbt_peer_t management functions                                          */
 
-/* Copyright (c) 2006 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index b609da3..74b19d9 100644 (file)
@@ -1,7 +1,8 @@
 /* A (synchronized) message queue.                                          */
 /* Popping an empty queue is blocking, as well as pushing a full one        */
 
-/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index aa3a5ed..0bdbba6 100644 (file)
@@ -4,8 +4,8 @@
 /* This is the real life implementation, using xbt_os_thread to be portable */
 /* to windows and linux.                                                    */
 
-/* Copyright 2006,2007 Malek Cherier, Martin Quinson
- * All right reserved.                                                      */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 416bcbb..bd035b1 100644 (file)
@@ -1,6 +1,7 @@
 /* time - time related syscal wrappers                                      */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 2c3438a..d91a955 100644 (file)
@@ -9,8 +9,8 @@
 /* In RL, java is useless, and threads are always part of the picture,      */
 /*  ucontext never */
 
-/* Copyright (c) 2007 Martin Quinson.                                       */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 518d19a..0dcca4c 100644 (file)
@@ -3,8 +3,8 @@
 
 /* This is the simulation implementation, using simix.                      */
 
-/* Copyright 2006,2007 Malek Cherier, Martin Quinson
- * All right reserved.                                                      */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 356f8ed..c8ea62e 100644 (file)
@@ -1,6 +1,7 @@
 /* time - time related syscal wrappers                                      */
 
-/* Copyright (c) 2003-2007 Martin Quinson.  All rights reserved.            */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index e1f51f3..7fe5441 100644 (file)
@@ -5,10 +5,9 @@
  *   Distributed under LGPL v2.1, February 1999.
  */
 
-/* Adapted to fit into SimGrid by Martin Quinson.
- *   Copyright (c) 2008 Martin Quinson. All rights reserved.
- *   Distributed under LGPL v2.1, February 1999.
- */
+/* Later adapted to fit into SimGrid. Distributed under LGPL v2.1, Feb 1999.*/
+/* Copyright (c) 2008, 2009, 2010. 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. */
index 35b5e39..52911c5 100644 (file)
@@ -1,11 +1,10 @@
 /* xbt_str.c - various helping functions to deal with strings               */
 
-/* Copyright (C) 2005-2008 The SimGrid Team.                                */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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.
- */
+ * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "portable.h"
 #include "xbt/misc.h"
index c40e0fc..4fc5f63 100644 (file)
@@ -2,8 +2,8 @@
 
 /* strbuff -- string buffers                                                */
 
-/* Copyright (c) 2007 Martin Quinson.                                       */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index eb9e0af..d10885d 100644 (file)
@@ -1,7 +1,8 @@
 /* xbt_synchro -- advanced multithreaded features                           */
 /* Working on top of real threads in RL and of simulated processes in SG    */
 
-/* Copyright 2009 Da SimGrid Team. All right reserved.                      */
+/* Copyright (c) 2009, 2010. 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. */
index 47a0650..50ac952 100644 (file)
@@ -1,6 +1,7 @@
 /* virtu - virtualization layer for XBT to choose between GRAS and MSG implementation */
 
-/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index e8377b7..7ad2c4f 100644 (file)
@@ -1,6 +1,7 @@
 /* xbt_modinter - How to init/exit the XBT modules                          */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 8360d3c..ac8e05d 100644 (file)
@@ -1,6 +1,7 @@
 /* datadesc: test of data description (using file transport).               */
 
-/* Copyright (c) 2004-2007 Martin Quinson. All rights reserved.             */
+/* Copyright (c) 2007, 2009, 2010. 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. */
index c119a6c..f2a9d00 100644 (file)
@@ -3,8 +3,8 @@
 /* empty_main.c -- check what happens when the processes do nothing         */
 /* Thanks to Loris Marshal for reporting a problem in that case             */
 
-/* Copyright (c) 2007 Martin Quinson.                                       */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2008, 2009, 2010. 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. */
index 7c2eb8f..678115b 100644 (file)
@@ -2,7 +2,8 @@
 
 /* msg_handle - ensures the semantic of gras_msg_handle(i) for i<0,=0 or >0 */
 
-/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
 /* Thanks to Flavien Vernier for reporting an issue around this             */
 
 /* This program is free software; you can redistribute it and/or modify it
index 03a6387..6a44331 100644 (file)
@@ -2,8 +2,8 @@
 
 /* small_sleep.c -- check what happens when the processes do sleeps very shortly*/
 
-/* Copyright (c) 2007 Martin Quinson.                                       */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2008, 2009, 2010. 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. */
index b865574..1441932 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2009, 2010. 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 <stdio.h>
 #include "msg/msg.h"
 #include <float.h>
index ccbdf4e..d66eb00 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 2007, 2008 The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 1e4e027..2dccd6f 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 #include "simdag/simdag.h"
index 9a76191..78bf4cf 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 #include "simdag/simdag.h"
index 87d5c78..9e764a7 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 #include "simdag/simdag.h"
index 1fa7b94..bdf7be3 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 #include "simdag/simdag.h"
index 660b0a8..c79e162 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 #include "simdag/simdag.h"
index 9dcc466..176719b 100644 (file)
@@ -1,14 +1,15 @@
+/* test scheduling 2 tasks at the same time without artificial dependencies */
+
+/* Copyright (c) 2007, 2008, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 #include "simdag/simdag.h"
 
-/*
- * test: scheduling 2 tasks at the same time
- * without artificial dependecies
- * 
- * author: sahu
- */
-
 int main(int argc, char **argv)
 {
   double comm_cost[] = { 0.0, 0.0, 0.0, 0.0 };
index 1fe82e4..bb9dfdd 100644 (file)
@@ -1,10 +1,10 @@
+/* Latency tests                                                            */
 
-/*
- * SimDag
- * Latency tests
- * Copyright (C) 2007 
- * Sascha Hunold, Frederic Suter
- */
+/* Copyright (c) 2007, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
index d0a53a6..a4f4bfb 100644 (file)
@@ -1,10 +1,10 @@
+/* Latency tests                                                            */
 
-/*
- * SimDag
- * Latency tests
- * Copyright (C) 2007 
- * Sascha Hunold, Frederic Suter
- */
+/* Copyright (c) 2007, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
index 6884438..2c9f00b 100644 (file)
@@ -1,10 +1,10 @@
+/* Latency tests                                                            */
 
-/*
- * SimDag
- * Latency tests
- * Copyright (C) 2007 
- * Sascha Hunold, Frederic Suter
- */
+/* Copyright (c) 2007, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
index eb2e9e4..6b99c39 100644 (file)
@@ -1,10 +1,10 @@
+/* Latency tests                                                            */
+  
+/* Copyright (c) 2007, 2009, 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
 
-/*
- * SimDag
- * Latency tests
- * Copyright (C) 2007 
- * Sascha Hunold, Frederic Suter
- */
+/* 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 <stdio.h>
 #include <stdlib.h>
index 4e2dd74..a29803d 100644 (file)
@@ -1,10 +1,10 @@
+/* Latency tests                                                            */
+  
+/* Copyright (c) 2007, 2009, 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
 
-/*
- * SimDag
- * Latency tests
- * Copyright (C) 2007 
- * Sascha Hunold, Frederic Suter
- */
+/* 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 <stdio.h>
 #include <stdlib.h>
index c6f95cd..cd85602 100644 (file)
@@ -1,10 +1,10 @@
+/* Latency tests                                                            */
+  
+/* Copyright (c) 2007, 2009, 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
 
-/*
- * SimDag
- * Latency tests
- * Copyright (C) 2007 
- * Sascha Hunold, Frederic Suter
- */
+/* 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 <stdio.h>
 #include <stdlib.h>
index 628d675..c506d79 100644 (file)
@@ -1,10 +1,10 @@
+/* Latency tests                                                            */
+  
+/* Copyright (c) 2007, 2009, 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
 
-/*
- * SimDag
- * Latency tests
- * Copyright (C) 2007 
- * Sascha Hunold, Frederic Suter
- */
+/* 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 <stdio.h>
 #include <stdlib.h>
index 340d41b..1fbd3da 100644 (file)
@@ -1,15 +1,16 @@
+/* Computation tests                                                        */
+
+/* Copyright (c) 2007, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 
 #include "simdag/simdag.h"
 
-/*
- * SimDag
- * Computation tests
- * Copyright (C) 2007 
- * Sascha Hunold, Frederic Suter
- */
-
 /*
  * This test checks if the reinitialization of
  * surf works properly. 
index 1da6d78..e75d085 100644 (file)
@@ -1,10 +1,8 @@
+/* Copyright (c) 2007, 2009, 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
 
-/*
- * SimDag
- * Computation tests
- * Copyright (C) 2007 
- * Sascha Hunold, Frederic Suter
- */
+/* 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 <stdio.h>
 #include <stdlib.h>
index b27fe60..db4e202 100644 (file)
@@ -1,10 +1,8 @@
+/* Copyright (c) 2007, 2009, 2010. The SimGrid Team.
+ * All rights reserved.                                                     */
 
-/*
- * SimDag
- * Computation tests
- * Copyright (C) 2007 
- * Sascha Hunold, Frederic Suter
- */
+/* 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 <stdio.h>
 #include <stdlib.h>
index d2a243e..20d0567 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2008, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 #include "simdag/simdag.h"
index 33ea064..603a568 100644 (file)
@@ -1,3 +1,8 @@
+/* Copyright (c) 2008, 2009, 2010. 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. */
 
 #ifndef WIN32
 #include <unistd.h>
index 9eb95a0..4e0559d 100644 (file)
@@ -1,6 +1,7 @@
 /* log_large_test -- log a very large string to test the dynamic variants   */
 
-/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index b69b4c5..f606f43 100644 (file)
@@ -1,6 +1,7 @@
 /* synchro_crashtest -- tries to crash the logging mecanism by doing // logs*/
 
-/* Copyright (c) 2007 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index e5b1775..44d3680 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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 <stdio.h>
 #include <stdlib.h>
 #include "simdag/simdag.h"
index 5ae7e20..df8857c 100644 (file)
@@ -1,8 +1,7 @@
-/*     $Id$     */
-
 /* A few tests for the maxmin library                                       */
 
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index f462bfe..29b886c 100644 (file)
@@ -1,8 +1,7 @@
-/*     $Id$     */
-
 /* A crash few tests for the maxmin library                                 */
 
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 9b01300..1bc9289 100644 (file)
@@ -1,8 +1,7 @@
-/*     $Id$     */
-
 /* A few basic tests for the surf library                                   */
 
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 876d6dd..8be876d 100644 (file)
@@ -1,8 +1,7 @@
-/*     $Id$     */
-
 /* A few basic tests for the surf library                                   */
 
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 1d0dcb3..53d3e29 100644 (file)
@@ -1,8 +1,7 @@
-/*     $Id$     */
-
 /* A few tests for the trace library                                       */
 
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2009, 2010. 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. */
index 588a149..a95b61a 100644 (file)
@@ -1,6 +1,7 @@
 /* A few basic tests for the graphxml library                               */
 
-/* Copyright (c) 2006 Darina Dimitrova, Arnaud Legrand. All rights reserved.*/
+/* Copyright (c) 2006, 2007, 2008, 2009, 2010. 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. */
index c9f3bfb..ad08711 100644 (file)
@@ -1,6 +1,7 @@
 /* A few tests for the xbt_heap module                                      */
 
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. 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. */
index 3e5813e..4266e9d 100644 (file)
@@ -1,6 +1,7 @@
 /* log_usage - A test of normal usage of the log facilities                 */
 
-/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
+/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */
index 5236452..5dade2a 100644 (file)
@@ -1,9 +1,7 @@
-/*     $Id$     */
-
 /* gras_stub_generator - creates the main() to use a GRAS program           */
 
-/* Copyright (c) 2003-2007 Martin Quinson, Arnaud Legrand, Malek Cherier.   */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2005, 2006, 2007, 2009, 2010. 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. */
index ec7dd88..c8052d0 100644 (file)
@@ -1,7 +1,7 @@
 /* run_context -- stuff in which TESH runs a command                        */
 
-/* Copyright (c) 2007 Martin Quinson.                                       */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index c40d6e5..203472f 100644 (file)
@@ -1,7 +1,7 @@
 /* run_context -- stuff in which TESH runs a command                        */
 
-/* Copyright (c) 2007 Martin Quinson.                                       */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index a38c914..64e9106 100644 (file)
@@ -1,7 +1,7 @@
 /* signal -- what TESH needs to know about signals                          */
 
-/* Copyright (c) 2007 Martin Quinson.                                       */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 8bdecbe..c9da30d 100644 (file)
@@ -1,7 +1,7 @@
 /* TESH (Test Shell) -- mini shell specialized in running test units        */
 
-/* Copyright (c) 2007 Martin Quinson.                                       */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index 5489b55..206493b 100644 (file)
@@ -1,7 +1,7 @@
 /* TESH (Test Shell) -- mini shell specialized in running test units        */
 
-/* Copyright (c) 2007-2008, Da SimGrid team.                                */
-/* All rights reserved.                                                     */
+/* Copyright (c) 2007, 2008, 2009, 2010. 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. */
index d9c2103..e133fbf 100644 (file)
@@ -1,6 +1,7 @@
 /* datadesc: test of data description (using file transport).               */
 
-/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
+/* Copyright (c) 2007, 2010. 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. */
index 384093c..571105d 100644 (file)
@@ -6,7 +6,8 @@
 
 /* A few tests for the xbt_heap module                                      */
 
-/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
+/* Copyright (c) 2006, 2010. 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. */