From 6760cb07d6b57be16928d95339d71e57c4e24f36 Mon Sep 17 00:00:00 2001 From: mquinson Date: Sun, 25 Apr 2010 22:14:24 +0000 Subject: [PATCH] Fix copyright headers git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7646 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- .../Cmake/prog_test/prog_AC_CHECK_MCSC.c | 6 + buildtools/Cmake/prog_test/prog_GRAS_ARCH.c | 6 + .../prog_GRAS_CHECK_STRUCT_COMPACTION.c | 6 + buildtools/Cmake/prog_test/prog_getline.c | 22 +- buildtools/Cmake/prog_test/prog_max_size.c | 7 + .../Cmake/prog_test/prog_mutex_timedlock.c | 6 + buildtools/Cmake/prog_test/prog_printf_null.c | 6 + buildtools/Cmake/prog_test/prog_sem_init.c | 6 + .../Cmake/prog_test/prog_sem_timedwait.c | 6 + buildtools/Cmake/prog_test/prog_snprintf.c | 6 + buildtools/Cmake/prog_test/prog_stackgrowth.c | 6 + buildtools/Cmake/prog_test/prog_stacksetup.c | 6 + buildtools/Cmake/prog_test/prog_va_copy.c | 60 +- buildtools/Cmake/prog_test/prog_vsnprintf.c | 6 + doc/gtut-files/01-bones.c | 6 + doc/gtut-files/02-simple.c | 6 + doc/gtut-files/03-args.c | 6 + doc/gtut-files/04-callback.c | 6 + doc/gtut-files/05-globals.c | 6 + doc/gtut-files/06-logs.c | 6 + doc/gtut-files/07-timers.c | 6 + doc/gtut-files/08-exceptions.c | 6 + doc/gtut-files/09-datatype-dump.c | 6 + doc/gtut-files/09-simpledata.c | 6 + doc/gtut-files/10-rpc.c | 6 + doc/gtut-files/11-explicitwait.c | 6 + examples/amok/alnem/alnem.c | 3 +- examples/amok/alnem/alnem_builder.c | 3 +- examples/amok/bandwidth/bandwidth.c | 3 +- examples/amok/saturate/env.c | 3 +- examples/amok/saturate/saturate.c | 3 +- examples/gras/all2all/all2all.c | 3 +- examples/gras/chrono/chrono.c | 3 +- examples/gras/chrono/chrono2.c | 3 +- examples/gras/mmrpc/mmrpc.c | 3 +- examples/gras/mmrpc/mmrpc.h | 3 +- examples/gras/mmrpc/mmrpc_client.c | 3 +- examples/gras/mmrpc/mmrpc_common.c | 3 +- examples/gras/mmrpc/mmrpc_server.c | 3 +- .../simple_token/simple_token.c | 5 +- examples/gras/p2p/can/can.c | 10 +- examples/gras/p2p/can/can_tests.c | 10 +- examples/gras/p2p/can/types.h | 6 + examples/gras/p2p/chord/chord.c | 8 +- examples/gras/ping/ping.h | 3 +- examples/gras/ping/ping_client.c | 3 +- examples/gras/ping/ping_common.c | 3 +- examples/gras/ping/ping_server.c | 3 +- examples/gras/pmm/pmm.c | 3 +- examples/gras/properties/properties.c | 6 +- examples/gras/replay/replay.c | 3 +- examples/gras/replay/workload.h | 3 +- examples/gras/replay/xbt_workload.c | 3 +- examples/gras/rpc/rpc.c | 3 +- examples/gras/spawn/spawn.h | 3 +- examples/gras/spawn/spawn_child.c | 3 +- examples/gras/spawn/spawn_common.c | 3 +- examples/gras/spawn/spawn_father.c | 3 +- examples/gras/synchro/philosopher.c | 3 +- examples/gras/timer/timer.c | 3 +- examples/msg/actions/actions.c | 5 +- .../alias/masterslave_forwarder_with_alias.c | 479 +++++---- examples/msg/gtnets/gtnets.c | 6 + examples/msg/masterslave/masterslave_bypass.c | 5 +- .../msg/masterslave/masterslave_failure.c | 5 +- .../msg/masterslave/masterslave_forwarder.c | 5 +- .../msg/masterslave/masterslave_mailbox.c | 5 +- examples/msg/migration/migration.c | 5 +- examples/msg/parallel_task/parallel_task.c | 5 +- examples/msg/parallel_task/test_ptask.c | 6 + examples/msg/priority/priority.c | 5 +- examples/msg/properties/msg_prop.c | 5 +- examples/msg/sendrecv/sendrecv.c | 5 +- examples/msg/suspend/suspend.c | 5 +- examples/msg/trace/test_trace_integration.c | 6 + examples/msg/tracing/categories.c | 5 +- examples/msg/tracing/ms.c | 5 +- examples/simdag/dax/dax_test.c | 3 +- examples/simdag/metaxml/sd_meta.c | 11 +- examples/simdag/properties/sd_prop.c | 6 +- examples/simdag/sd_test.c | 6 + examples/simdag/sd_test2.c | 6 + examples/smpi/alltoall_basic.c | 6 + examples/smpi/barrier.c | 6 + examples/smpi/bcast.c | 6 + examples/smpi/bcbench.c | 6 + examples/smpi/compute.c | 6 + examples/smpi/compute2.c | 6 + examples/smpi/compute3.c | 6 + examples/smpi/get_processor_name.c | 6 + examples/smpi/mvmul.c | 6 + examples/smpi/pingpong.c | 4 + examples/smpi/sendrecv.c | 6 + examples/smpi/split.c | 6 + examples/xbt/sem_basic.c | 182 ++-- examples/xbt/sem_sched.c | 932 +++++++++--------- include/amok/bandwidth.h | 3 +- include/amok/base.h | 3 +- include/amok/peermanagement.h | 3 +- include/gras.h | 3 +- include/gras/datadesc.h | 3 +- include/gras/emul.h | 3 +- include/gras/messages.h | 3 +- include/gras/module.h | 6 + include/gras/process.h | 3 +- include/gras/timer.h | 3 +- include/gras/transport.h | 3 +- include/gras/virtu.h | 3 +- include/instr/instr.h | 16 +- include/msg/datatypes.h | 5 +- include/msg/msg.h | 5 +- include/simdag/datatypes.h | 3 +- include/simdag/simdag.h | 6 + include/smpi/mpi.h | 6 + include/smpi/smpi.h | 6 + include/surf/surfxml_parse.h | 5 +- include/xbt.h | 3 +- include/xbt/asserts.h | 3 +- include/xbt/config.h | 3 +- include/xbt/cunit.h | 3 +- include/xbt/dict.h | 3 +- include/xbt/dynar.h | 3 +- include/xbt/fifo.h | 5 +- include/xbt/function_types.h | 5 +- include/xbt/graph.h | 6 +- include/xbt/graphxml_parse.h | 3 +- include/xbt/hash.h | 4 +- include/xbt/heap.h | 5 +- include/xbt/log.h | 3 +- include/xbt/mallocator.h | 3 +- include/xbt/matrix.h | 3 +- include/xbt/misc.h | 5 +- include/xbt/module.h | 3 +- include/xbt/peer.h | 5 +- include/xbt/queue.h | 3 +- include/xbt/set.h | 3 +- include/xbt/str.h | 4 +- include/xbt/strbuff.h | 4 +- include/xbt/swag.h | 5 +- include/xbt/synchro.h | 3 +- include/xbt/synchro_core.h | 3 +- include/xbt/sysdep.h | 3 +- include/xbt/time.h | 3 +- include/xbt/virtu.h | 4 +- src/amok/Bandwidth/bandwidth.c | 5 +- src/amok/Bandwidth/bandwidth_private.h | 3 +- src/amok/Bandwidth/saturate.c | 3 +- src/amok/PeerManagement/peermanagement.c | 3 +- src/amok/amok_base.c | 3 +- src/amok/amok_modinter.h | 3 +- src/bindings/lua/simgrid_lua.c | 3 +- src/bindings/ruby/rb_application_handler.c | 12 +- src/bindings/ruby/rb_msg_host.c | 3 +- src/bindings/ruby/rb_msg_process.c | 12 +- src/bindings/ruby/rb_msg_task.c | 3 +- src/bindings/ruby/simgrid_ruby.c | 3 +- src/bindings/rubyDag/rb_SD_task.c | 6 + src/bindings/rubyDag/rb_SD_task.h | 6 + src/bindings/rubyDag/rb_SD_workstation.c | 6 + src/bindings/rubyDag/rb_SD_workstation.h | 6 + src/bindings/rubyDag/rb_simdag.c | 6 + src/bindings/ruby_bindings.h | 3 +- src/gras/DataDesc/cbps.c | 5 +- src/gras/DataDesc/datadesc.c | 5 +- src/gras/DataDesc/datadesc_interface.h | 5 +- src/gras/DataDesc/datadesc_private.h | 5 +- src/gras/DataDesc/ddt_convert.c | 5 +- src/gras/DataDesc/ddt_create.c | 3 +- src/gras/DataDesc/ddt_exchange.c | 3 +- src/gras/DataDesc/ddt_parse.c | 5 +- src/gras/DataDesc/ddt_parse.yy.c | 3 +- src/gras/DataDesc/ddt_parse.yy.h | 5 +- src/gras/DataDesc/ddt_parse.yy.l | 2 - src/gras/Msg/gras_msg_exchange.c | 3 +- src/gras/Msg/gras_msg_listener.c | 3 +- src/gras/Msg/gras_msg_mod.c | 4 +- src/gras/Msg/gras_msg_types.c | 4 +- src/gras/Msg/msg_interface.h | 3 +- src/gras/Msg/msg_private.h | 3 +- src/gras/Msg/rl_msg.c | 3 +- src/gras/Msg/rpc.c | 3 +- src/gras/Msg/sg_msg.c | 3 +- src/gras/Msg/timer.c | 3 +- src/gras/Transport/rl_transport.c | 3 +- src/gras/Transport/sg_transport.c | 3 +- src/gras/Transport/transport.c | 3 +- src/gras/Transport/transport_interface.h | 3 +- src/gras/Transport/transport_plugin_file.c | 3 +- src/gras/Transport/transport_plugin_sg.c | 3 +- src/gras/Transport/transport_plugin_tcp.c | 3 +- src/gras/Transport/transport_private.h | 3 +- src/gras/Virtu/gras_module.c | 3 +- src/gras/Virtu/process.c | 3 +- src/gras/Virtu/rl_dns.c | 3 +- src/gras/Virtu/rl_emul.c | 3 +- src/gras/Virtu/rl_process.c | 3 +- src/gras/Virtu/sg_dns.c | 3 +- src/gras/Virtu/sg_emul.c | 3 +- src/gras/Virtu/sg_process.c | 3 +- src/gras/Virtu/virtu_interface.h | 3 +- src/gras/Virtu/virtu_private.h | 3 +- src/gras/Virtu/virtu_rl.h | 3 +- src/gras/Virtu/virtu_sg.h | 3 +- src/gras/gras.c | 4 +- src/gras/rl_stubs.c | 4 +- src/gras_modinter.h | 3 +- src/include/simix/context.h | 6 + src/include/simix/datatypes.h | 6 +- src/include/simix/simix.h | 6 +- src/include/surf/datatypes.h | 3 +- src/include/surf/maxmin.h | 5 +- src/include/surf/random_mgr.h | 6 + src/include/surf/surf.h | 5 +- src/include/surf/surf_resource.h | 3 +- src/include/surf/surf_resource_lmm.h | 3 +- src/include/surf/surfxml_parse_private.h | 5 +- src/include/surf/trace_mgr.h | 5 +- src/include/xbt/xbt_os_thread.h | 3 +- src/include/xbt/xbt_os_time.h | 3 +- src/instr/general.c | 16 +- src/instr/interface.c | 16 +- src/instr/msg_process_instr.c | 16 +- src/instr/msg_task_instr.c | 16 +- src/instr/paje.c | 16 +- src/instr/private.h | 16 +- src/instr/smx_instr.c | 16 +- src/instr/surf_instr.c | 16 +- src/instr/variables_instr.c | 16 +- src/java/jmsg.c | 19 +- src/java/jmsg.h | 18 +- src/java/jmsg_application_handler.c | 16 +- src/java/jmsg_application_handler.h | 44 +- src/java/jmsg_host.c | 18 +- src/java/jmsg_host.h | 18 +- src/java/jmsg_process.c | 18 +- src/java/jmsg_process.h | 18 +- src/java/jmsg_task.c | 18 +- src/java/jmsg_task.h | 18 +- src/java/jxbt_utilities.c | 18 +- src/java/jxbt_utilities.h | 18 +- src/msg/deployment.c | 5 +- src/msg/environment.c | 5 +- src/msg/global.c | 5 +- src/msg/gos.c | 5 +- src/msg/host.c | 5 +- src/msg/m_process.c | 5 +- src/msg/mailbox.h | 6 + src/msg/msg_actions.c | 3 +- src/msg/msg_config.c | 5 +- src/msg/private.h | 5 +- src/msg/task.c | 5 +- src/portable.h | 3 +- src/simdag/private.h | 3 +- src/simdag/sd_daxloader.c | 3 +- src/simdag/sd_global.c | 3 +- src/simdag/sd_link.c | 3 +- src/simdag/sd_task.c | 3 +- src/simdag/sd_workstation.c | 3 +- src/simix/private.h | 6 +- src/simix/smx_action.c | 6 +- src/simix/smx_context.c | 4 +- src/simix/smx_context_base.c | 3 +- src/simix/smx_context_java.c | 3 +- src/simix/smx_context_java.h | 6 + src/simix/smx_context_lua.c | 3 +- src/simix/smx_context_private.h | 4 +- src/simix/smx_context_ruby.c | 3 +- src/simix/smx_context_sysv.c | 3 +- src/simix/smx_context_sysv_private.h | 3 +- src/simix/smx_context_thread.c | 3 +- src/simix/smx_deployment.c | 6 +- src/simix/smx_environment.c | 6 +- src/simix/smx_global.c | 6 +- src/simix/smx_host.c | 6 +- src/simix/smx_network.c | 6 +- src/simix/smx_process.c | 3 +- src/simix/smx_synchro.c | 6 +- src/smpi/private.h | 6 + src/smpi/sample/reduce.c | 6 + src/smpi/smpi_base.c | 6 + src/smpi/smpi_bench.c | 6 + src/smpi/smpi_coll.c | 8 +- src/smpi/smpi_coll_private.h | 16 +- src/smpi/smpi_comm.c | 6 + src/smpi/smpi_global.c | 6 + src/smpi/smpi_group.c | 6 + src/smpi/smpi_mpi.c | 6 +- src/smpi/smpi_mpi_dt.c | 12 +- src/smpi/smpi_mpi_dt_private.h | 15 +- src/smpi/smpi_util.c | 6 + src/surf/cpu.c | 5 +- src/surf/cpu_im.c | 5 +- src/surf/cpu_ti.c | 5 +- src/surf/cpu_ti_private.h | 5 +- src/surf/fair_bottleneck.c | 5 +- src/surf/gtnets/gtnets_interface.h | 4 +- src/surf/gtnets/gtnets_simulator.h | 4 +- src/surf/gtnets/gtnets_topology.h | 3 +- src/surf/lagrange.c | 6 +- src/surf/maxmin.c | 5 +- src/surf/maxmin_private.h | 5 +- src/surf/network.c | 5 +- src/surf/network_constant.c | 5 +- src/surf/network_gtnets.c | 3 +- src/surf/network_gtnets_private.h | 5 +- src/surf/network_private.h | 5 +- src/surf/network_vivaldi.c | 5 +- src/surf/random_mgr.c | 6 + src/surf/surf.c | 5 +- src/surf/surf_action.c | 3 +- src/surf/surf_config.c | 3 +- src/surf/surf_model.c | 3 +- src/surf/surf_model_timer.c | 5 +- src/surf/surf_private.h | 5 +- src/surf/surf_routing.c | 3 +- src/surf/surfxml_parse.c | 5 +- src/surf/trace_mgr.c | 5 +- src/surf/trace_mgr_private.h | 5 +- src/surf/workstation.c | 5 +- src/surf/workstation_ptask_L07.c | 5 +- src/win32/compiler/borland.h | 3 +- src/win32/compiler/select_compiler_features.h | 3 +- src/win32/compiler/visualc.h | 3 +- src/win32/config.h | 3 +- src/win32/platform/select_platform_features.h | 3 +- src/xbt/asserts.c | 3 +- src/xbt/backtrace_dummy.c | 3 +- src/xbt/backtrace_linux.c | 6 +- src/xbt/backtrace_windows.c | 4 +- src/xbt/config.c | 3 +- src/xbt/cunit.c | 3 +- src/xbt/dict.c | 3 +- src/xbt/dict_cursor.c | 3 +- src/xbt/dict_elm.c | 3 +- src/xbt/dict_multi.c | 3 +- src/xbt/dict_private.h | 3 +- src/xbt/dynar.c | 3 +- src/xbt/error.c | 6 +- src/xbt/ex_interface.h | 3 +- src/xbt/fifo.c | 5 +- src/xbt/fifo_private.h | 5 +- src/xbt/graph.c | 4 +- src/xbt/graph_private.h | 6 +- src/xbt/graphxml_parse.c | 5 +- src/xbt/heap.c | 5 +- src/xbt/heap_private.h | 5 +- src/xbt/log.c | 3 +- src/xbt/log_private.h | 3 +- src/xbt/mallocator.c | 3 +- src/xbt/mallocator_private.h | 3 +- src/xbt/set.c | 3 +- src/xbt/swag.c | 5 +- src/xbt/xbt_log_appender_file.c | 3 +- src/xbt/xbt_log_layout_format.c | 3 +- src/xbt/xbt_log_layout_simple.c | 3 +- src/xbt/xbt_main.c | 3 +- src/xbt/xbt_matrix.c | 3 +- src/xbt/xbt_os_thread.c | 4 +- src/xbt/xbt_os_time.c | 3 +- src/xbt/xbt_peer.c | 3 +- src/xbt/xbt_queue.c | 3 +- src/xbt/xbt_rl_synchro.c | 4 +- src/xbt/xbt_rl_time.c | 3 +- src/xbt/xbt_sg_stubs.c | 4 +- src/xbt/xbt_sg_synchro.c | 4 +- src/xbt/xbt_sg_time.c | 3 +- src/xbt/xbt_sha.c | 7 +- src/xbt/xbt_str.c | 7 +- src/xbt/xbt_strbuff.c | 4 +- src/xbt/xbt_synchro.c | 3 +- src/xbt/xbt_virtu.c | 3 +- src/xbt_modinter.h | 3 +- teshsuite/gras/datadesc/datadesc_usage.c | 3 +- teshsuite/gras/empty_main/empty_main.c | 4 +- teshsuite/gras/msg_handle/msg_handle.c | 3 +- teshsuite/gras/small_sleep/small_sleep.c | 4 +- teshsuite/msg/get_sender.c | 6 + teshsuite/simdag/basic0.c | 3 +- teshsuite/simdag/basic1.c | 6 + teshsuite/simdag/basic2.c | 6 + teshsuite/simdag/basic3.c | 6 + teshsuite/simdag/basic4.c | 6 + teshsuite/simdag/basic5.c | 6 + teshsuite/simdag/basic6.c | 15 +- .../simdag/network/mxn/test_intra_all2all.c | 12 +- .../network/mxn/test_intra_independent_comm.c | 12 +- .../simdag/network/mxn/test_intra_scatter.c | 12 +- teshsuite/simdag/network/p2p/test_latency1.c | 12 +- teshsuite/simdag/network/p2p/test_latency2.c | 12 +- teshsuite/simdag/network/p2p/test_latency3.c | 12 +- .../simdag/network/p2p/test_latency_bound.c | 12 +- teshsuite/simdag/network/test_reinit_costs.c | 15 +- teshsuite/simdag/partask/test_comp_only_par.c | 10 +- teshsuite/simdag/partask/test_comp_only_seq.c | 10 +- .../simdag/platforms/basic_parsing_test.c | 6 + teshsuite/simdag/platforms/flatifier.c | 5 + teshsuite/xbt/log_large_test.c | 3 +- teshsuite/xbt/parallel_log_crashtest.c | 3 +- testsuite/simdag/sd_test.c | 6 + testsuite/surf/lmm_usage.c | 5 +- testsuite/surf/maxmin_bench.c | 5 +- testsuite/surf/surf_usage.c | 5 +- testsuite/surf/surf_usage2.c | 5 +- testsuite/surf/trace_usage.c | 5 +- testsuite/xbt/graphxml_usage.c | 3 +- testsuite/xbt/heap_bench.c | 3 +- testsuite/xbt/log_usage.c | 3 +- tools/gras/stub_generator.c | 6 +- tools/tesh/run_context.c | 4 +- tools/tesh/run_context.h | 4 +- tools/tesh/signal.c | 4 +- tools/tesh/tesh.c | 4 +- tools/tesh/tesh.h | 4 +- .../gras/datadesc_usage/datadesc_usage.c | 3 +- .../simulation/xbt/heap_bench/heap_bench.c | 3 +- 415 files changed, 2165 insertions(+), 1717 deletions(-) diff --git a/buildtools/Cmake/prog_test/prog_AC_CHECK_MCSC.c b/buildtools/Cmake/prog_test/prog_AC_CHECK_MCSC.c index 4cd27ed555..6e5c147abe 100644 --- a/buildtools/Cmake/prog_test/prog_AC_CHECK_MCSC.c +++ b/buildtools/Cmake/prog_test/prog_AC_CHECK_MCSC.c @@ -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 #include #include diff --git a/buildtools/Cmake/prog_test/prog_GRAS_ARCH.c b/buildtools/Cmake/prog_test/prog_GRAS_ARCH.c index 92143243bd..52b03afab2 100644 --- a/buildtools/Cmake/prog_test/prog_GRAS_ARCH.c +++ b/buildtools/Cmake/prog_test/prog_GRAS_ARCH.c @@ -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 #include diff --git a/buildtools/Cmake/prog_test/prog_GRAS_CHECK_STRUCT_COMPACTION.c b/buildtools/Cmake/prog_test/prog_GRAS_CHECK_STRUCT_COMPACTION.c index e8ba5c7de9..059941d8e3 100644 --- a/buildtools/Cmake/prog_test/prog_GRAS_CHECK_STRUCT_COMPACTION.c +++ b/buildtools/Cmake/prog_test/prog_GRAS_CHECK_STRUCT_COMPACTION.c @@ -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 #include /* offsetof() */ #include diff --git a/buildtools/Cmake/prog_test/prog_getline.c b/buildtools/Cmake/prog_test/prog_getline.c index 000ee7f4ab..81a257f4ad 100644 --- a/buildtools/Cmake/prog_test/prog_getline.c +++ b/buildtools/Cmake/prog_test/prog_getline.c @@ -1,8 +1,14 @@ - #define _GNU_SOURCE - #include - 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 +int main(void){ + FILE * fp; + char * line = NULL; + size_t len = 0; + getline(&line, &len, fp); +} diff --git a/buildtools/Cmake/prog_test/prog_max_size.c b/buildtools/Cmake/prog_test/prog_max_size.c index 9ffd94c4b4..d89e76d37d 100644 --- a/buildtools/Cmake/prog_test/prog_max_size.c +++ b/buildtools/Cmake/prog_test/prog_max_size.c @@ -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 #include diff --git a/buildtools/Cmake/prog_test/prog_mutex_timedlock.c b/buildtools/Cmake/prog_test/prog_mutex_timedlock.c index 7e49494749..c3eb72d34e 100644 --- a/buildtools/Cmake/prog_test/prog_mutex_timedlock.c +++ b/buildtools/Cmake/prog_test/prog_mutex_timedlock.c @@ -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 void main (void) diff --git a/buildtools/Cmake/prog_test/prog_printf_null.c b/buildtools/Cmake/prog_test/prog_printf_null.c index da2595a3cd..473d6c58c6 100644 --- a/buildtools/Cmake/prog_test/prog_printf_null.c +++ b/buildtools/Cmake/prog_test/prog_printf_null.c @@ -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 printf("%s",NULL); diff --git a/buildtools/Cmake/prog_test/prog_sem_init.c b/buildtools/Cmake/prog_test/prog_sem_init.c index 6139c34792..f4d303852d 100644 --- a/buildtools/Cmake/prog_test/prog_sem_init.c +++ b/buildtools/Cmake/prog_test/prog_sem_init.c @@ -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 void main(void) diff --git a/buildtools/Cmake/prog_test/prog_sem_timedwait.c b/buildtools/Cmake/prog_test/prog_sem_timedwait.c index a4349e04a8..58876f671f 100644 --- a/buildtools/Cmake/prog_test/prog_sem_timedwait.c +++ b/buildtools/Cmake/prog_test/prog_sem_timedwait.c @@ -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 int main() diff --git a/buildtools/Cmake/prog_test/prog_snprintf.c b/buildtools/Cmake/prog_test/prog_snprintf.c index f24eb7c26d..a33c8467fb 100644 --- a/buildtools/Cmake/prog_test/prog_snprintf.c +++ b/buildtools/Cmake/prog_test/prog_snprintf.c @@ -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 int main(void) diff --git a/buildtools/Cmake/prog_test/prog_stackgrowth.c b/buildtools/Cmake/prog_test/prog_stackgrowth.c index b69f6def1b..c1a9e7804f 100644 --- a/buildtools/Cmake/prog_test/prog_stackgrowth.c +++ b/buildtools/Cmake/prog_test/prog_stackgrowth.c @@ -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 #include static int iterate = 10; diff --git a/buildtools/Cmake/prog_test/prog_stacksetup.c b/buildtools/Cmake/prog_test/prog_stacksetup.c index 7b128a5053..102645eed1 100644 --- a/buildtools/Cmake/prog_test/prog_stacksetup.c +++ b/buildtools/Cmake/prog_test/prog_stacksetup.c @@ -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 diff --git a/buildtools/Cmake/prog_test/prog_va_copy.c b/buildtools/Cmake/prog_test/prog_va_copy.c index d0797ae051..82800ebf3b 100644 --- a/buildtools/Cmake/prog_test/prog_va_copy.c +++ b/buildtools/Cmake/prog_test/prog_va_copy.c @@ -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 - #include - #include - #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 +#include +#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); +} diff --git a/buildtools/Cmake/prog_test/prog_vsnprintf.c b/buildtools/Cmake/prog_test/prog_vsnprintf.c index d33e3a7dec..30f4a9d22b 100644 --- a/buildtools/Cmake/prog_test/prog_vsnprintf.c +++ b/buildtools/Cmake/prog_test/prog_vsnprintf.c @@ -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 #include diff --git a/doc/gtut-files/01-bones.c b/doc/gtut-files/01-bones.c index 85ff3e2695..ea9a3c0bf2 100644 --- a/doc/gtut-files/01-bones.c +++ b/doc/gtut-files/01-bones.c @@ -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 int client(int argc, char *argv[]) { diff --git a/doc/gtut-files/02-simple.c b/doc/gtut-files/02-simple.c index 98ccee74cf..ded8811cd9 100644 --- a/doc/gtut-files/02-simple.c +++ b/doc/gtut-files/02-simple.c @@ -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 #include diff --git a/doc/gtut-files/03-args.c b/doc/gtut-files/03-args.c index ef6a61fd22..19070e7c33 100644 --- a/doc/gtut-files/03-args.c +++ b/doc/gtut-files/03-args.c @@ -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 #include diff --git a/doc/gtut-files/04-callback.c b/doc/gtut-files/04-callback.c index dc4c6746af..956f6b5847 100644 --- a/doc/gtut-files/04-callback.c +++ b/doc/gtut-files/04-callback.c @@ -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 #include diff --git a/doc/gtut-files/05-globals.c b/doc/gtut-files/05-globals.c index aeb222308f..a21233d432 100644 --- a/doc/gtut-files/05-globals.c +++ b/doc/gtut-files/05-globals.c @@ -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 #include diff --git a/doc/gtut-files/06-logs.c b/doc/gtut-files/06-logs.c index bcacfd6188..f0acfb7cd1 100644 --- a/doc/gtut-files/06-logs.c +++ b/doc/gtut-files/06-logs.c @@ -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 XBT_LOG_NEW_DEFAULT_CATEGORY(test,"My little example"); diff --git a/doc/gtut-files/07-timers.c b/doc/gtut-files/07-timers.c index ffc339c8eb..cb5ad513df 100644 --- a/doc/gtut-files/07-timers.c +++ b/doc/gtut-files/07-timers.c @@ -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 XBT_LOG_NEW_DEFAULT_CATEGORY(test,"My little example"); diff --git a/doc/gtut-files/08-exceptions.c b/doc/gtut-files/08-exceptions.c index e4d3ed8874..6b90168abe 100644 --- a/doc/gtut-files/08-exceptions.c +++ b/doc/gtut-files/08-exceptions.c @@ -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 XBT_LOG_NEW_DEFAULT_CATEGORY(test,"My little example"); diff --git a/doc/gtut-files/09-datatype-dump.c b/doc/gtut-files/09-datatype-dump.c index 31e54bf706..3d871a3d39 100644 --- a/doc/gtut-files/09-datatype-dump.c +++ b/doc/gtut-files/09-datatype-dump.c @@ -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 #include diff --git a/doc/gtut-files/09-simpledata.c b/doc/gtut-files/09-simpledata.c index 351da0db56..7ba96df0e7 100644 --- a/doc/gtut-files/09-simpledata.c +++ b/doc/gtut-files/09-simpledata.c @@ -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 XBT_LOG_NEW_DEFAULT_CATEGORY(test,"My little example"); diff --git a/doc/gtut-files/10-rpc.c b/doc/gtut-files/10-rpc.c index df9738cb50..1e8e64d9c0 100644 --- a/doc/gtut-files/10-rpc.c +++ b/doc/gtut-files/10-rpc.c @@ -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 #include diff --git a/doc/gtut-files/11-explicitwait.c b/doc/gtut-files/11-explicitwait.c index dc22745ec0..05146d33e0 100644 --- a/doc/gtut-files/11-explicitwait.c +++ b/doc/gtut-files/11-explicitwait.c @@ -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 #include diff --git a/examples/amok/alnem/alnem.c b/examples/amok/alnem/alnem.c index 13d2be1761..720318f3e5 100644 --- a/examples/amok/alnem/alnem.c +++ b/examples/amok/alnem/alnem.c @@ -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. */ diff --git a/examples/amok/alnem/alnem_builder.c b/examples/amok/alnem/alnem_builder.c index 6fa074b20a..8fa78e792b 100644 --- a/examples/amok/alnem/alnem_builder.c +++ b/examples/amok/alnem/alnem_builder.c @@ -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. */ diff --git a/examples/amok/bandwidth/bandwidth.c b/examples/amok/bandwidth/bandwidth.c index 3e085dfa9a..1090b5f018 100644 --- a/examples/amok/bandwidth/bandwidth.c +++ b/examples/amok/bandwidth/bandwidth.c @@ -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. */ diff --git a/examples/amok/saturate/env.c b/examples/amok/saturate/env.c index b56ac5f28f..45abca5ea7 100644 --- a/examples/amok/saturate/env.c +++ b/examples/amok/saturate/env.c @@ -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. */ diff --git a/examples/amok/saturate/saturate.c b/examples/amok/saturate/saturate.c index ab18273273..8d4a5377a2 100644 --- a/examples/amok/saturate/saturate.c +++ b/examples/amok/saturate/saturate.c @@ -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. */ diff --git a/examples/gras/all2all/all2all.c b/examples/gras/all2all/all2all.c index 823cfe567c..4c58b72488 100644 --- a/examples/gras/all2all/all2all.c +++ b/examples/gras/all2all/all2all.c @@ -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. */ diff --git a/examples/gras/chrono/chrono.c b/examples/gras/chrono/chrono.c index 4b530c5823..29eee56427 100644 --- a/examples/gras/chrono/chrono.c +++ b/examples/gras/chrono/chrono.c @@ -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. */ diff --git a/examples/gras/chrono/chrono2.c b/examples/gras/chrono/chrono2.c index 9170cef816..7816fd2c1f 100644 --- a/examples/gras/chrono/chrono2.c +++ b/examples/gras/chrono/chrono2.c @@ -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. */ diff --git a/examples/gras/mmrpc/mmrpc.c b/examples/gras/mmrpc/mmrpc.c index 2f4244c2d8..d1d356510a 100644 --- a/examples/gras/mmrpc/mmrpc.c +++ b/examples/gras/mmrpc/mmrpc.c @@ -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. */ diff --git a/examples/gras/mmrpc/mmrpc.h b/examples/gras/mmrpc/mmrpc.h index 9a3a6e294a..13f5e0f031 100644 --- a/examples/gras/mmrpc/mmrpc.h +++ b/examples/gras/mmrpc/mmrpc.h @@ -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. */ diff --git a/examples/gras/mmrpc/mmrpc_client.c b/examples/gras/mmrpc/mmrpc_client.c index 4b5806a597..405c5c9a04 100644 --- a/examples/gras/mmrpc/mmrpc_client.c +++ b/examples/gras/mmrpc/mmrpc_client.c @@ -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. */ diff --git a/examples/gras/mmrpc/mmrpc_common.c b/examples/gras/mmrpc/mmrpc_common.c index 17ca99a3b5..5b0beaf586 100644 --- a/examples/gras/mmrpc/mmrpc_common.c +++ b/examples/gras/mmrpc/mmrpc_common.c @@ -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. */ diff --git a/examples/gras/mmrpc/mmrpc_server.c b/examples/gras/mmrpc/mmrpc_server.c index caa4cac356..f5a164dc4c 100644 --- a/examples/gras/mmrpc/mmrpc_server.c +++ b/examples/gras/mmrpc/mmrpc_server.c @@ -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. */ diff --git a/examples/gras/mutual_exclusion/simple_token/simple_token.c b/examples/gras/mutual_exclusion/simple_token/simple_token.c index 18a8e3f2ee..f045b7154c 100644 --- a/examples/gras/mutual_exclusion/simple_token/simple_token.c +++ b/examples/gras/mutual_exclusion/simple_token/simple_token.c @@ -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. */ diff --git a/examples/gras/p2p/can/can.c b/examples/gras/p2p/can/can.c index 7f5f0b5376..a9b91412fb 100644 --- a/examples/gras/p2p/can/can.c +++ b/examples/gras/p2p/can/can.c @@ -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 #include "xbt/sysdep.h" diff --git a/examples/gras/p2p/can/can_tests.c b/examples/gras/p2p/can/can_tests.c index 52c5ad7c90..80eca1947a 100644 --- a/examples/gras/p2p/can/can_tests.c +++ b/examples/gras/p2p/can/can_tests.c @@ -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 //#include "gras.h" diff --git a/examples/gras/p2p/can/types.h b/examples/gras/p2p/can/types.h index 3700c3739d..4e2f0d13c7 100644 --- a/examples/gras/p2p/can/types.h +++ b/examples/gras/p2p/can/types.h @@ -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 */ diff --git a/examples/gras/p2p/chord/chord.c b/examples/gras/p2p/chord/chord.c index 61b525f6d8..b6b9de1efb 100644 --- a/examples/gras/p2p/chord/chord.c +++ b/examples/gras/p2p/chord/chord.c @@ -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 #include "xbt/sysdep.h" diff --git a/examples/gras/ping/ping.h b/examples/gras/ping/ping.h index 5e2b006f3a..ffd57cf893 100644 --- a/examples/gras/ping/ping.h +++ b/examples/gras/ping/ping.h @@ -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. */ diff --git a/examples/gras/ping/ping_client.c b/examples/gras/ping/ping_client.c index 3780793b73..701499f621 100644 --- a/examples/gras/ping/ping_client.c +++ b/examples/gras/ping/ping_client.c @@ -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. */ diff --git a/examples/gras/ping/ping_common.c b/examples/gras/ping/ping_common.c index e9b4f12204..046f81e0f6 100644 --- a/examples/gras/ping/ping_common.c +++ b/examples/gras/ping/ping_common.c @@ -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. */ diff --git a/examples/gras/ping/ping_server.c b/examples/gras/ping/ping_server.c index d867a32958..27597d9e67 100644 --- a/examples/gras/ping/ping_server.c +++ b/examples/gras/ping/ping_server.c @@ -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. */ diff --git a/examples/gras/pmm/pmm.c b/examples/gras/pmm/pmm.c index c6a3860234..b29af45f36 100755 --- a/examples/gras/pmm/pmm.c +++ b/examples/gras/pmm/pmm.c @@ -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. */ diff --git a/examples/gras/properties/properties.c b/examples/gras/properties/properties.c index 2d70f3387e..850b91d492 100644 --- a/examples/gras/properties/properties.c +++ b/examples/gras/properties/properties.c @@ -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" diff --git a/examples/gras/replay/replay.c b/examples/gras/replay/replay.c index 4f79090102..c29f566354 100644 --- a/examples/gras/replay/replay.c +++ b/examples/gras/replay/replay.c @@ -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. */ diff --git a/examples/gras/replay/workload.h b/examples/gras/replay/workload.h index 67f0c0c685..46dcd8345f 100644 --- a/examples/gras/replay/workload.h +++ b/examples/gras/replay/workload.h @@ -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. */ diff --git a/examples/gras/replay/xbt_workload.c b/examples/gras/replay/xbt_workload.c index 23bbffe6f5..46a9e4bdb7 100644 --- a/examples/gras/replay/xbt_workload.c +++ b/examples/gras/replay/xbt_workload.c @@ -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. */ diff --git a/examples/gras/rpc/rpc.c b/examples/gras/rpc/rpc.c index edf6844fd3..f4ee78f76a 100644 --- a/examples/gras/rpc/rpc.c +++ b/examples/gras/rpc/rpc.c @@ -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. */ diff --git a/examples/gras/spawn/spawn.h b/examples/gras/spawn/spawn.h index d709e4f05b..e08d91a728 100644 --- a/examples/gras/spawn/spawn.h +++ b/examples/gras/spawn/spawn.h @@ -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. */ diff --git a/examples/gras/spawn/spawn_child.c b/examples/gras/spawn/spawn_child.c index 097451cf3c..3098ffd823 100644 --- a/examples/gras/spawn/spawn_child.c +++ b/examples/gras/spawn/spawn_child.c @@ -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. */ diff --git a/examples/gras/spawn/spawn_common.c b/examples/gras/spawn/spawn_common.c index 5c884fbf36..c6c787d4bd 100644 --- a/examples/gras/spawn/spawn_common.c +++ b/examples/gras/spawn/spawn_common.c @@ -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. */ diff --git a/examples/gras/spawn/spawn_father.c b/examples/gras/spawn/spawn_father.c index 75f1aac902..edf1fa2002 100644 --- a/examples/gras/spawn/spawn_father.c +++ b/examples/gras/spawn/spawn_father.c @@ -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. */ diff --git a/examples/gras/synchro/philosopher.c b/examples/gras/synchro/philosopher.c index 82f51b9c11..96a653fdc2 100644 --- a/examples/gras/synchro/philosopher.c +++ b/examples/gras/synchro/philosopher.c @@ -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. */ diff --git a/examples/gras/timer/timer.c b/examples/gras/timer/timer.c index 93544e93d1..9c1aab5db7 100644 --- a/examples/gras/timer/timer.c +++ b/examples/gras/timer/timer.c @@ -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. */ diff --git a/examples/msg/actions/actions.c b/examples/msg/actions/actions.c index 2f8958d266..02fcb18eac 100644 --- a/examples/msg/actions/actions.c +++ b/examples/msg/actions/actions.c @@ -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. */ diff --git a/examples/msg/alias/masterslave_forwarder_with_alias.c b/examples/msg/alias/masterslave_forwarder_with_alias.c index a389a76cd8..9cad16898a 100644 --- a/examples/msg/alias/masterslave_forwarder_with_alias.c +++ b/examples/msg/alias/masterslave_forwarder_with_alias.c @@ -1,240 +1,239 @@ -/* $Id: masterslave_forwarder.c 5108 2007-12-04 16:29:05Z mquinson $ */ - -/* Copyright (c) 2002,2003,2004 Arnaud Legrand. All rights reserved. */ - -/* This program 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 -#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 */ +/* 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 +#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 */ diff --git a/examples/msg/gtnets/gtnets.c b/examples/msg/gtnets/gtnets.c index a702f7d7f9..b8c0f20564 100644 --- a/examples/msg/gtnets/gtnets.c +++ b/examples/msg/gtnets/gtnets.c @@ -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 #include #include "msg/msg.h" diff --git a/examples/msg/masterslave/masterslave_bypass.c b/examples/msg/masterslave/masterslave_bypass.c index 44cb2bf5c4..21e84cdd7f 100644 --- a/examples/msg/masterslave/masterslave_bypass.c +++ b/examples/msg/masterslave/masterslave_bypass.c @@ -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. */ diff --git a/examples/msg/masterslave/masterslave_failure.c b/examples/msg/masterslave/masterslave_failure.c index b7dd543fe9..330250d868 100644 --- a/examples/msg/masterslave/masterslave_failure.c +++ b/examples/msg/masterslave/masterslave_failure.c @@ -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. */ diff --git a/examples/msg/masterslave/masterslave_forwarder.c b/examples/msg/masterslave/masterslave_forwarder.c index 257b27640c..b64aacd2a1 100644 --- a/examples/msg/masterslave/masterslave_forwarder.c +++ b/examples/msg/masterslave/masterslave_forwarder.c @@ -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. */ diff --git a/examples/msg/masterslave/masterslave_mailbox.c b/examples/msg/masterslave/masterslave_mailbox.c index aaf70208e4..f6ac5cb607 100644 --- a/examples/msg/masterslave/masterslave_mailbox.c +++ b/examples/msg/masterslave/masterslave_mailbox.c @@ -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. */ diff --git a/examples/msg/migration/migration.c b/examples/msg/migration/migration.c index 7483953e87..18936c7007 100644 --- a/examples/msg/migration/migration.c +++ b/examples/msg/migration/migration.c @@ -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. */ diff --git a/examples/msg/parallel_task/parallel_task.c b/examples/msg/parallel_task/parallel_task.c index 8f13bd362f..89fc1c17b4 100644 --- a/examples/msg/parallel_task/parallel_task.c +++ b/examples/msg/parallel_task/parallel_task.c @@ -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. */ diff --git a/examples/msg/parallel_task/test_ptask.c b/examples/msg/parallel_task/test_ptask.c index 8ee0ec9142..9beea974a9 100644 --- a/examples/msg/parallel_task/test_ptask.c +++ b/examples/msg/parallel_task/test_ptask.c @@ -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 #include "msg/msg.h" /* Yeah! If you want to use msg, you need to include msg/msg.h */ diff --git a/examples/msg/priority/priority.c b/examples/msg/priority/priority.c index 63162cfab8..066b374797 100644 --- a/examples/msg/priority/priority.c +++ b/examples/msg/priority/priority.c @@ -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. */ diff --git a/examples/msg/properties/msg_prop.c b/examples/msg/properties/msg_prop.c index 0e26b45bb8..6c88118de1 100644 --- a/examples/msg/properties/msg_prop.c +++ b/examples/msg/properties/msg_prop.c @@ -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. */ diff --git a/examples/msg/sendrecv/sendrecv.c b/examples/msg/sendrecv/sendrecv.c index 785ae0b04c..ae41aff151 100644 --- a/examples/msg/sendrecv/sendrecv.c +++ b/examples/msg/sendrecv/sendrecv.c @@ -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. */ diff --git a/examples/msg/suspend/suspend.c b/examples/msg/suspend/suspend.c index b5459b72ca..c8e045af3f 100644 --- a/examples/msg/suspend/suspend.c +++ b/examples/msg/suspend/suspend.c @@ -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. */ diff --git a/examples/msg/trace/test_trace_integration.c b/examples/msg/trace/test_trace_integration.c index 067cd730bb..e42c1e96b4 100644 --- a/examples/msg/trace/test_trace_integration.c +++ b/examples/msg/trace/test_trace_integration.c @@ -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 #include #include "msg/msg.h" diff --git a/examples/msg/tracing/categories.c b/examples/msg/tracing/categories.c index eff3761178..fd6033cb21 100644 --- a/examples/msg/tracing/categories.c +++ b/examples/msg/tracing/categories.c @@ -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. */ diff --git a/examples/msg/tracing/ms.c b/examples/msg/tracing/ms.c index 8381dcaee5..94205ff9f3 100644 --- a/examples/msg/tracing/ms.c +++ b/examples/msg/tracing/ms.c @@ -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. */ diff --git a/examples/simdag/dax/dax_test.c b/examples/simdag/dax/dax_test.c index 6688dd5bdf..86e54dc644 100644 --- a/examples/simdag/dax/dax_test.c +++ b/examples/simdag/dax/dax_test.c @@ -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. */ diff --git a/examples/simdag/metaxml/sd_meta.c b/examples/simdag/metaxml/sd_meta.c index d2a54f2c40..0067eaa6e8 100644 --- a/examples/simdag/metaxml/sd_meta.c +++ b/examples/simdag/metaxml/sd_meta.c @@ -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 #include #include "simdag/simdag.h" diff --git a/examples/simdag/properties/sd_prop.c b/examples/simdag/properties/sd_prop.c index 9b7d4244d2..089e89c9ab 100755 --- a/examples/simdag/properties/sd_prop.c +++ b/examples/simdag/properties/sd_prop.c @@ -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 #include diff --git a/examples/simdag/sd_test.c b/examples/simdag/sd_test.c index ad00cda0e5..bb25059a95 100644 --- a/examples/simdag/sd_test.c +++ b/examples/simdag/sd_test.c @@ -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 #include #include "simdag/simdag.h" diff --git a/examples/simdag/sd_test2.c b/examples/simdag/sd_test2.c index 99a85c7cf0..9870e3c5ea 100644 --- a/examples/simdag/sd_test2.c +++ b/examples/simdag/sd_test2.c @@ -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 #include #include diff --git a/examples/smpi/alltoall_basic.c b/examples/smpi/alltoall_basic.c index 2cb6f7d368..56aa80e497 100644 --- a/examples/smpi/alltoall_basic.c +++ b/examples/smpi/alltoall_basic.c @@ -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 #include diff --git a/examples/smpi/barrier.c b/examples/smpi/barrier.c index 57dbab76b0..be4ded853d 100644 --- a/examples/smpi/barrier.c +++ b/examples/smpi/barrier.c @@ -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 #include diff --git a/examples/smpi/bcast.c b/examples/smpi/bcast.c index 6e197fe7df..4b594e3a22 100644 --- a/examples/smpi/bcast.c +++ b/examples/smpi/bcast.c @@ -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 #include diff --git a/examples/smpi/bcbench.c b/examples/smpi/bcbench.c index 8272646a7b..b603babe4e 100644 --- a/examples/smpi/bcbench.c +++ b/examples/smpi/bcbench.c @@ -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 #include #include diff --git a/examples/smpi/compute.c b/examples/smpi/compute.c index 775e131e82..24607cb7ee 100644 --- a/examples/smpi/compute.c +++ b/examples/smpi/compute.c @@ -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 #include diff --git a/examples/smpi/compute2.c b/examples/smpi/compute2.c index ea524408a4..4811b803fe 100644 --- a/examples/smpi/compute2.c +++ b/examples/smpi/compute2.c @@ -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 #include diff --git a/examples/smpi/compute3.c b/examples/smpi/compute3.c index d25a531b10..ed22bfce77 100644 --- a/examples/smpi/compute3.c +++ b/examples/smpi/compute3.c @@ -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 #include diff --git a/examples/smpi/get_processor_name.c b/examples/smpi/get_processor_name.c index 47f9dbd0e6..21cdc54534 100644 --- a/examples/smpi/get_processor_name.c +++ b/examples/smpi/get_processor_name.c @@ -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 #include diff --git a/examples/smpi/mvmul.c b/examples/smpi/mvmul.c index b76a15d124..18b34203f4 100644 --- a/examples/smpi/mvmul.c +++ b/examples/smpi/mvmul.c @@ -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 #include #include diff --git a/examples/smpi/pingpong.c b/examples/smpi/pingpong.c index 636c985221..e7b4a7de75 100644 --- a/examples/smpi/pingpong.c +++ b/examples/smpi/pingpong.c @@ -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 #include diff --git a/examples/smpi/sendrecv.c b/examples/smpi/sendrecv.c index 3f3aeeef27..cb97aa43a6 100644 --- a/examples/smpi/sendrecv.c +++ b/examples/smpi/sendrecv.c @@ -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 diff --git a/examples/smpi/split.c b/examples/smpi/split.c index bf4d3df682..984ee7ee00 100644 --- a/examples/smpi/split.c +++ b/examples/smpi/split.c @@ -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 #include diff --git a/examples/xbt/sem_basic.c b/examples/xbt/sem_basic.c index 0bfb04cec6..6185ad33c9 100644 --- a/examples/xbt/sem_basic.c +++ b/examples/xbt/sem_basic.c @@ -1,88 +1,94 @@ -#include -#include - - -#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); -} - - - +/* 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 +#include + + +#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); +} + + + diff --git a/examples/xbt/sem_sched.c b/examples/xbt/sem_sched.c index 65494034c6..b0f2f1d426 100644 --- a/examples/xbt/sem_sched.c +++ b/examples/xbt/sem_sched.c @@ -1,463 +1,469 @@ -#include -#include -#include -#include - - -#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; -} - - - +/* 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 +#include +#include +#include + + +#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; +} + + + diff --git a/include/amok/bandwidth.h b/include/amok/bandwidth.h index 8042239dab..cafc960b46 100644 --- a/include/amok/bandwidth.h +++ b/include/amok/bandwidth.h @@ -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. */ diff --git a/include/amok/base.h b/include/amok/base.h index 26e4ca25e6..601e00dfe7 100644 --- a/include/amok/base.h +++ b/include/amok/base.h @@ -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. */ diff --git a/include/amok/peermanagement.h b/include/amok/peermanagement.h index 1417522f94..41144874b1 100644 --- a/include/amok/peermanagement.h +++ b/include/amok/peermanagement.h @@ -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. */ diff --git a/include/gras.h b/include/gras.h index 1c261a9a31..ce22412ab3 100644 --- a/include/gras.h +++ b/include/gras.h @@ -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. */ diff --git a/include/gras/datadesc.h b/include/gras/datadesc.h index 10a97fe727..e8ed2bf31e 100644 --- a/include/gras/datadesc.h +++ b/include/gras/datadesc.h @@ -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. */ diff --git a/include/gras/emul.h b/include/gras/emul.h index e2c3bcc0b3..8d96a8683b 100644 --- a/include/gras/emul.h +++ b/include/gras/emul.h @@ -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. */ diff --git a/include/gras/messages.h b/include/gras/messages.h index eabe61057c..a21e58e0fd 100644 --- a/include/gras/messages.h +++ b/include/gras/messages.h @@ -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. */ diff --git a/include/gras/module.h b/include/gras/module.h index 6c59081118..300a054fa8 100644 --- a/include/gras/module.h +++ b/include/gras/module.h @@ -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 diff --git a/include/gras/process.h b/include/gras/process.h index e556862f15..0449193c5a 100644 --- a/include/gras/process.h +++ b/include/gras/process.h @@ -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. */ diff --git a/include/gras/timer.h b/include/gras/timer.h index 1070482e46..bb266bda0a 100644 --- a/include/gras/timer.h +++ b/include/gras/timer.h @@ -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. */ diff --git a/include/gras/transport.h b/include/gras/transport.h index 68d9a1f46c..8ad34fda3b 100644 --- a/include/gras/transport.h +++ b/include/gras/transport.h @@ -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. */ diff --git a/include/gras/virtu.h b/include/gras/virtu.h index 42ca337331..c7b8653645 100644 --- a/include/gras/virtu.h +++ b/include/gras/virtu.h @@ -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. */ diff --git a/include/instr/instr.h b/include/instr/instr.h index 4f3a2d82f1..b296c26f93 100644 --- a/include/instr/instr.h +++ b/include/instr/instr.h @@ -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_ diff --git a/include/msg/datatypes.h b/include/msg/datatypes.h index 255b1558d5..3415d07656 100644 --- a/include/msg/datatypes.h +++ b/include/msg/datatypes.h @@ -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. */ diff --git a/include/msg/msg.h b/include/msg/msg.h index 14cfc9a4f9..8eaa724379 100644 --- a/include/msg/msg.h +++ b/include/msg/msg.h @@ -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. */ diff --git a/include/simdag/datatypes.h b/include/simdag/datatypes.h index 7634fad865..5a9c6a26dc 100644 --- a/include/simdag/datatypes.h +++ b/include/simdag/datatypes.h @@ -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. */ diff --git a/include/simdag/simdag.h b/include/simdag/simdag.h index baf0399914..c52e51575d 100644 --- a/include/simdag/simdag.h +++ b/include/simdag/simdag.h @@ -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 diff --git a/include/smpi/mpi.h b/include/smpi/mpi.h index e177954747..b295aac041 100644 --- a/include/smpi/mpi.h +++ b/include/smpi/mpi.h @@ -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 diff --git a/include/smpi/smpi.h b/include/smpi/smpi.h index efdcace4e0..5d5dfb5289 100644 --- a/include/smpi/smpi.h +++ b/include/smpi/smpi.h @@ -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 diff --git a/include/surf/surfxml_parse.h b/include/surf/surfxml_parse.h index 157711ada0..1af0fd16d5 100644 --- a/include/surf/surfxml_parse.h +++ b/include/surf/surfxml_parse.h @@ -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. */ diff --git a/include/xbt.h b/include/xbt.h index b00f11b0aa..798b1365a8 100644 --- a/include/xbt.h +++ b/include/xbt.h @@ -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. */ diff --git a/include/xbt/asserts.h b/include/xbt/asserts.h index dc6bac0d60..7173df7ab8 100644 --- a/include/xbt/asserts.h +++ b/include/xbt/asserts.h @@ -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. */ diff --git a/include/xbt/config.h b/include/xbt/config.h index 426fabea7b..74378940a1 100644 --- a/include/xbt/config.h +++ b/include/xbt/config.h @@ -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. */ diff --git a/include/xbt/cunit.h b/include/xbt/cunit.h index 8a7babccbd..ba306a7d00 100644 --- a/include/xbt/cunit.h +++ b/include/xbt/cunit.h @@ -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. */ diff --git a/include/xbt/dict.h b/include/xbt/dict.h index c90afbebff..3cd77d276f 100644 --- a/include/xbt/dict.h +++ b/include/xbt/dict.h @@ -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. */ diff --git a/include/xbt/dynar.h b/include/xbt/dynar.h index cd09cf9ce2..a045e106d6 100644 --- a/include/xbt/dynar.h +++ b/include/xbt/dynar.h @@ -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. */ diff --git a/include/xbt/fifo.h b/include/xbt/fifo.h index 143370b179..3b6a986468 100644 --- a/include/xbt/fifo.h +++ b/include/xbt/fifo.h @@ -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. */ diff --git a/include/xbt/function_types.h b/include/xbt/function_types.h index 2455902cc8..9bf172fdb4 100644 --- a/include/xbt/function_types.h +++ b/include/xbt/function_types.h @@ -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. */ diff --git a/include/xbt/graph.h b/include/xbt/graph.h index 4db15fcfe7..e37223251d 100644 --- a/include/xbt/graph.h +++ b/include/xbt/graph.h @@ -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. */ diff --git a/include/xbt/graphxml_parse.h b/include/xbt/graphxml_parse.h index da56645a3f..f70dbc4889 100644 --- a/include/xbt/graphxml_parse.h +++ b/include/xbt/graphxml_parse.h @@ -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. */ diff --git a/include/xbt/hash.h b/include/xbt/hash.h index 651aaba4f7..a238d98a4c 100644 --- a/include/xbt/hash.h +++ b/include/xbt/hash.h @@ -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. */ diff --git a/include/xbt/heap.h b/include/xbt/heap.h index 16f51264d9..4b5e707030 100644 --- a/include/xbt/heap.h +++ b/include/xbt/heap.h @@ -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. */ diff --git a/include/xbt/log.h b/include/xbt/log.h index d4114d8853..d22e627e04 100644 --- a/include/xbt/log.h +++ b/include/xbt/log.h @@ -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. */ diff --git a/include/xbt/mallocator.h b/include/xbt/mallocator.h index 1de19a2b0f..7049ac9fe1 100644 --- a/include/xbt/mallocator.h +++ b/include/xbt/mallocator.h @@ -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. */ diff --git a/include/xbt/matrix.h b/include/xbt/matrix.h index 7f84fa0879..976e7d08d0 100644 --- a/include/xbt/matrix.h +++ b/include/xbt/matrix.h @@ -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. */ diff --git a/include/xbt/misc.h b/include/xbt/misc.h index a48059e4b1..3b89b3ec06 100644 --- a/include/xbt/misc.h +++ b/include/xbt/misc.h @@ -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. */ diff --git a/include/xbt/module.h b/include/xbt/module.h index 3b0445d309..4dba2b808a 100644 --- a/include/xbt/module.h +++ b/include/xbt/module.h @@ -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. */ diff --git a/include/xbt/peer.h b/include/xbt/peer.h index e00cedb73c..7c5b03d3f8 100644 --- a/include/xbt/peer.h +++ b/include/xbt/peer.h @@ -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. */ diff --git a/include/xbt/queue.h b/include/xbt/queue.h index aede6cc027..a3b846a65d 100644 --- a/include/xbt/queue.h +++ b/include/xbt/queue.h @@ -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. */ diff --git a/include/xbt/set.h b/include/xbt/set.h index 5f75b1e6e2..a463a09ea7 100644 --- a/include/xbt/set.h +++ b/include/xbt/set.h @@ -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. */ diff --git a/include/xbt/str.h b/include/xbt/str.h index 3ca39fa140..ebe4c01d5a 100644 --- a/include/xbt/str.h +++ b/include/xbt/str.h @@ -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. */ diff --git a/include/xbt/strbuff.h b/include/xbt/strbuff.h index 7f945e893b..8c63cd8a5e 100644 --- a/include/xbt/strbuff.h +++ b/include/xbt/strbuff.h @@ -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. */ diff --git a/include/xbt/swag.h b/include/xbt/swag.h index 82f723fd6a..8a14e7e510 100644 --- a/include/xbt/swag.h +++ b/include/xbt/swag.h @@ -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. */ diff --git a/include/xbt/synchro.h b/include/xbt/synchro.h index a9e2773fb9..cb7abd099d 100644 --- a/include/xbt/synchro.h +++ b/include/xbt/synchro.h @@ -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. */ diff --git a/include/xbt/synchro_core.h b/include/xbt/synchro_core.h index 3103330212..fadf8c532e 100644 --- a/include/xbt/synchro_core.h +++ b/include/xbt/synchro_core.h @@ -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. */ diff --git a/include/xbt/sysdep.h b/include/xbt/sysdep.h index 64eb19101a..efba50f6e6 100644 --- a/include/xbt/sysdep.h +++ b/include/xbt/sysdep.h @@ -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. */ diff --git a/include/xbt/time.h b/include/xbt/time.h index 9f02570a54..2a7ebad897 100644 --- a/include/xbt/time.h +++ b/include/xbt/time.h @@ -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. */ diff --git a/include/xbt/virtu.h b/include/xbt/virtu.h index 0154784e35..de872c77e1 100644 --- a/include/xbt/virtu.h +++ b/include/xbt/virtu.h @@ -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. */ diff --git a/src/amok/Bandwidth/bandwidth.c b/src/amok/Bandwidth/bandwidth.c index 9e8d41cf1d..32e9890ec0 100644 --- a/src/amok/Bandwidth/bandwidth.c +++ b/src/amok/Bandwidth/bandwidth.c @@ -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. */ diff --git a/src/amok/Bandwidth/bandwidth_private.h b/src/amok/Bandwidth/bandwidth_private.h index 0b5854abd8..bd449f0d3d 100644 --- a/src/amok/Bandwidth/bandwidth_private.h +++ b/src/amok/Bandwidth/bandwidth_private.h @@ -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. */ diff --git a/src/amok/Bandwidth/saturate.c b/src/amok/Bandwidth/saturate.c index 0e11a8eb2b..21ec6fd4f9 100644 --- a/src/amok/Bandwidth/saturate.c +++ b/src/amok/Bandwidth/saturate.c @@ -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. */ diff --git a/src/amok/PeerManagement/peermanagement.c b/src/amok/PeerManagement/peermanagement.c index 7394b32c7f..dc8219de8a 100644 --- a/src/amok/PeerManagement/peermanagement.c +++ b/src/amok/PeerManagement/peermanagement.c @@ -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. */ diff --git a/src/amok/amok_base.c b/src/amok/amok_base.c index dab579416c..a1a8602159 100644 --- a/src/amok/amok_base.c +++ b/src/amok/amok_base.c @@ -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. */ diff --git a/src/amok/amok_modinter.h b/src/amok/amok_modinter.h index 16bb0b36d5..da66e51755 100644 --- a/src/amok/amok_modinter.h +++ b/src/amok/amok_modinter.h @@ -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. */ diff --git a/src/bindings/lua/simgrid_lua.c b/src/bindings/lua/simgrid_lua.c index 7e442ff138..6760fa2aeb 100644 --- a/src/bindings/lua/simgrid_lua.c +++ b/src/bindings/lua/simgrid_lua.c @@ -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. */ diff --git a/src/bindings/ruby/rb_application_handler.c b/src/bindings/ruby/rb_application_handler.c index 2aaf6dd4d2..4ddbf61365 100644 --- a/src/bindings/ruby/rb_application_handler.c +++ b/src/bindings/ruby/rb_application_handler.c @@ -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 */ diff --git a/src/bindings/ruby/rb_msg_host.c b/src/bindings/ruby/rb_msg_host.c index 64f16b49ca..53b5d8d7e2 100644 --- a/src/bindings/ruby/rb_msg_host.c +++ b/src/bindings/ruby/rb_msg_host.c @@ -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. */ diff --git a/src/bindings/ruby/rb_msg_process.c b/src/bindings/ruby/rb_msg_process.c index 0666340ae6..0820151f34 100644 --- a/src/bindings/ruby/rb_msg_process.c +++ b/src/bindings/ruby/rb_msg_process.c @@ -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" diff --git a/src/bindings/ruby/rb_msg_task.c b/src/bindings/ruby/rb_msg_task.c index c6b734aa8e..3fe4d8ee73 100644 --- a/src/bindings/ruby/rb_msg_task.c +++ b/src/bindings/ruby/rb_msg_task.c @@ -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. */ diff --git a/src/bindings/ruby/simgrid_ruby.c b/src/bindings/ruby/simgrid_ruby.c index 28341694c9..23c9d5c8b6 100644 --- a/src/bindings/ruby/simgrid_ruby.c +++ b/src/bindings/ruby/simgrid_ruby.c @@ -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. */ diff --git a/src/bindings/rubyDag/rb_SD_task.c b/src/bindings/rubyDag/rb_SD_task.c index 1733bad6fe..076599fca3 100644 --- a/src/bindings/rubyDag/rb_SD_task.c +++ b/src/bindings/rubyDag/rb_SD_task.c @@ -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 diff --git a/src/bindings/rubyDag/rb_SD_task.h b/src/bindings/rubyDag/rb_SD_task.h index b308ccb504..3a459245c1 100644 --- a/src/bindings/rubyDag/rb_SD_task.h +++ b/src/bindings/rubyDag/rb_SD_task.h @@ -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 diff --git a/src/bindings/rubyDag/rb_SD_workstation.c b/src/bindings/rubyDag/rb_SD_workstation.c index 2be055d568..615a745884 100644 --- a/src/bindings/rubyDag/rb_SD_workstation.c +++ b/src/bindings/rubyDag/rb_SD_workstation.c @@ -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) diff --git a/src/bindings/rubyDag/rb_SD_workstation.h b/src/bindings/rubyDag/rb_SD_workstation.h index 8fadfec165..0c209d7123 100644 --- a/src/bindings/rubyDag/rb_SD_workstation.h +++ b/src/bindings/rubyDag/rb_SD_workstation.h @@ -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 diff --git a/src/bindings/rubyDag/rb_simdag.c b/src/bindings/rubyDag/rb_simdag.c index 55aff59c3e..0e2e06a043 100644 --- a/src/bindings/rubyDag/rb_simdag.c +++ b/src/bindings/rubyDag/rb_simdag.c @@ -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$ * diff --git a/src/bindings/ruby_bindings.h b/src/bindings/ruby_bindings.h index 7f0dad4ec2..7277ef4ab0 100644 --- a/src/bindings/ruby_bindings.h +++ b/src/bindings/ruby_bindings.h @@ -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. */ diff --git a/src/gras/DataDesc/cbps.c b/src/gras/DataDesc/cbps.c index f95e5ae3df..b4867fa90a 100644 --- a/src/gras/DataDesc/cbps.c +++ b/src/gras/DataDesc/cbps.c @@ -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. */ diff --git a/src/gras/DataDesc/datadesc.c b/src/gras/DataDesc/datadesc.c index 1652e6c5ed..127d38681f 100644 --- a/src/gras/DataDesc/datadesc.c +++ b/src/gras/DataDesc/datadesc.c @@ -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. */ diff --git a/src/gras/DataDesc/datadesc_interface.h b/src/gras/DataDesc/datadesc_interface.h index 9222c59f84..c4a5b31c22 100644 --- a/src/gras/DataDesc/datadesc_interface.h +++ b/src/gras/DataDesc/datadesc_interface.h @@ -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. */ diff --git a/src/gras/DataDesc/datadesc_private.h b/src/gras/DataDesc/datadesc_private.h index e2140878f9..97c0445470 100644 --- a/src/gras/DataDesc/datadesc_private.h +++ b/src/gras/DataDesc/datadesc_private.h @@ -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. */ diff --git a/src/gras/DataDesc/ddt_convert.c b/src/gras/DataDesc/ddt_convert.c index 245a0fe6d9..11e9f19fe1 100644 --- a/src/gras/DataDesc/ddt_convert.c +++ b/src/gras/DataDesc/ddt_convert.c @@ -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. */ diff --git a/src/gras/DataDesc/ddt_create.c b/src/gras/DataDesc/ddt_create.c index 720b5aa9eb..2f1158ebaf 100644 --- a/src/gras/DataDesc/ddt_create.c +++ b/src/gras/DataDesc/ddt_create.c @@ -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. */ diff --git a/src/gras/DataDesc/ddt_exchange.c b/src/gras/DataDesc/ddt_exchange.c index 52cefa0814..cecbcf87b0 100644 --- a/src/gras/DataDesc/ddt_exchange.c +++ b/src/gras/DataDesc/ddt_exchange.c @@ -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. */ diff --git a/src/gras/DataDesc/ddt_parse.c b/src/gras/DataDesc/ddt_parse.c index dbafd4b1f5..d6e2e82339 100644 --- a/src/gras/DataDesc/ddt_parse.c +++ b/src/gras/DataDesc/ddt_parse.c @@ -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. */ diff --git a/src/gras/DataDesc/ddt_parse.yy.c b/src/gras/DataDesc/ddt_parse.yy.c index e9765d69a6..23368915c8 100644 --- a/src/gras/DataDesc/ddt_parse.yy.c +++ b/src/gras/DataDesc/ddt_parse.yy.c @@ -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" diff --git a/src/gras/DataDesc/ddt_parse.yy.h b/src/gras/DataDesc/ddt_parse.yy.h index 9ab987b549..0b81aff19e 100644 --- a/src/gras/DataDesc/ddt_parse.yy.h +++ b/src/gras/DataDesc/ddt_parse.yy.h @@ -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. */ diff --git a/src/gras/DataDesc/ddt_parse.yy.l b/src/gras/DataDesc/ddt_parse.yy.l index f3b62cb252..0db380d201 100644 --- a/src/gras/DataDesc/ddt_parse.yy.l +++ b/src/gras/DataDesc/ddt_parse.yy.l @@ -1,5 +1,3 @@ -/* $Id$ */ - /* DataDesc/ddt_parse -- automatic parsing of data structures */ /* Copyright (c) 2004 Arnaud Legrand, Martin Quinson. All rights reserved. */ diff --git a/src/gras/Msg/gras_msg_exchange.c b/src/gras/Msg/gras_msg_exchange.c index 8a6109a940..ed0b3ddc63 100644 --- a/src/gras/Msg/gras_msg_exchange.c +++ b/src/gras/Msg/gras_msg_exchange.c @@ -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. */ diff --git a/src/gras/Msg/gras_msg_listener.c b/src/gras/Msg/gras_msg_listener.c index 77bdf1462b..cb3807204d 100644 --- a/src/gras/Msg/gras_msg_listener.c +++ b/src/gras/Msg/gras_msg_listener.c @@ -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. */ diff --git a/src/gras/Msg/gras_msg_mod.c b/src/gras/Msg/gras_msg_mod.c index 498ba9b43b..d9a6322da1 100644 --- a/src/gras/Msg/gras_msg_mod.c +++ b/src/gras/Msg/gras_msg_mod.c @@ -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. */ diff --git a/src/gras/Msg/gras_msg_types.c b/src/gras/Msg/gras_msg_types.c index 216ba80122..0511544b5a 100644 --- a/src/gras/Msg/gras_msg_types.c +++ b/src/gras/Msg/gras_msg_types.c @@ -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. */ diff --git a/src/gras/Msg/msg_interface.h b/src/gras/Msg/msg_interface.h index 819d9f1ffe..9e968a4624 100644 --- a/src/gras/Msg/msg_interface.h +++ b/src/gras/Msg/msg_interface.h @@ -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. */ diff --git a/src/gras/Msg/msg_private.h b/src/gras/Msg/msg_private.h index 777eafef9a..ec64fe0327 100644 --- a/src/gras/Msg/msg_private.h +++ b/src/gras/Msg/msg_private.h @@ -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. */ diff --git a/src/gras/Msg/rl_msg.c b/src/gras/Msg/rl_msg.c index 7a277cb91f..95925fb8c2 100644 --- a/src/gras/Msg/rl_msg.c +++ b/src/gras/Msg/rl_msg.c @@ -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. */ diff --git a/src/gras/Msg/rpc.c b/src/gras/Msg/rpc.c index 4c42209ec6..1bdad030cc 100644 --- a/src/gras/Msg/rpc.c +++ b/src/gras/Msg/rpc.c @@ -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. */ diff --git a/src/gras/Msg/sg_msg.c b/src/gras/Msg/sg_msg.c index 1923e4e465..7a690bc9bb 100644 --- a/src/gras/Msg/sg_msg.c +++ b/src/gras/Msg/sg_msg.c @@ -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. */ diff --git a/src/gras/Msg/timer.c b/src/gras/Msg/timer.c index b301735119..ca596c3d69 100644 --- a/src/gras/Msg/timer.c +++ b/src/gras/Msg/timer.c @@ -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. */ diff --git a/src/gras/Transport/rl_transport.c b/src/gras/Transport/rl_transport.c index 46804da421..7125039736 100644 --- a/src/gras/Transport/rl_transport.c +++ b/src/gras/Transport/rl_transport.c @@ -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. */ diff --git a/src/gras/Transport/sg_transport.c b/src/gras/Transport/sg_transport.c index 013fed1f41..b61ea4989f 100644 --- a/src/gras/Transport/sg_transport.c +++ b/src/gras/Transport/sg_transport.c @@ -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. */ diff --git a/src/gras/Transport/transport.c b/src/gras/Transport/transport.c index 4c3d7ed0f5..c993dceb9d 100644 --- a/src/gras/Transport/transport.c +++ b/src/gras/Transport/transport.c @@ -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. */ diff --git a/src/gras/Transport/transport_interface.h b/src/gras/Transport/transport_interface.h index f09ad14e68..dcd12dcef8 100644 --- a/src/gras/Transport/transport_interface.h +++ b/src/gras/Transport/transport_interface.h @@ -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. */ diff --git a/src/gras/Transport/transport_plugin_file.c b/src/gras/Transport/transport_plugin_file.c index ebc6272c26..c112bb3d53 100644 --- a/src/gras/Transport/transport_plugin_file.c +++ b/src/gras/Transport/transport_plugin_file.c @@ -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. */ diff --git a/src/gras/Transport/transport_plugin_sg.c b/src/gras/Transport/transport_plugin_sg.c index 9ac1ac7b75..8918cb42b0 100644 --- a/src/gras/Transport/transport_plugin_sg.c +++ b/src/gras/Transport/transport_plugin_sg.c @@ -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. */ diff --git a/src/gras/Transport/transport_plugin_tcp.c b/src/gras/Transport/transport_plugin_tcp.c index e16d6324d3..114af0c5e3 100644 --- a/src/gras/Transport/transport_plugin_tcp.c +++ b/src/gras/Transport/transport_plugin_tcp.c @@ -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. */ diff --git a/src/gras/Transport/transport_private.h b/src/gras/Transport/transport_private.h index 64598aabfc..bf2dd522ed 100644 --- a/src/gras/Transport/transport_private.h +++ b/src/gras/Transport/transport_private.h @@ -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. */ diff --git a/src/gras/Virtu/gras_module.c b/src/gras/Virtu/gras_module.c index 2e00518c1d..7f8037e3ba 100644 --- a/src/gras/Virtu/gras_module.c +++ b/src/gras/Virtu/gras_module.c @@ -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. */ diff --git a/src/gras/Virtu/process.c b/src/gras/Virtu/process.c index d016e76d09..2f2b31dc71 100644 --- a/src/gras/Virtu/process.c +++ b/src/gras/Virtu/process.c @@ -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. */ diff --git a/src/gras/Virtu/rl_dns.c b/src/gras/Virtu/rl_dns.c index f237901239..a92784b605 100644 --- a/src/gras/Virtu/rl_dns.c +++ b/src/gras/Virtu/rl_dns.c @@ -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. */ diff --git a/src/gras/Virtu/rl_emul.c b/src/gras/Virtu/rl_emul.c index 22003845c4..d0409a5de9 100644 --- a/src/gras/Virtu/rl_emul.c +++ b/src/gras/Virtu/rl_emul.c @@ -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. */ diff --git a/src/gras/Virtu/rl_process.c b/src/gras/Virtu/rl_process.c index 898311094e..c53275de5e 100644 --- a/src/gras/Virtu/rl_process.c +++ b/src/gras/Virtu/rl_process.c @@ -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. */ diff --git a/src/gras/Virtu/sg_dns.c b/src/gras/Virtu/sg_dns.c index 585a8633ce..8482497777 100644 --- a/src/gras/Virtu/sg_dns.c +++ b/src/gras/Virtu/sg_dns.c @@ -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. */ diff --git a/src/gras/Virtu/sg_emul.c b/src/gras/Virtu/sg_emul.c index d7119f3e56..b6d371ffc7 100644 --- a/src/gras/Virtu/sg_emul.c +++ b/src/gras/Virtu/sg_emul.c @@ -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. */ diff --git a/src/gras/Virtu/sg_process.c b/src/gras/Virtu/sg_process.c index df308e2a3a..d6497b0418 100644 --- a/src/gras/Virtu/sg_process.c +++ b/src/gras/Virtu/sg_process.c @@ -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. */ diff --git a/src/gras/Virtu/virtu_interface.h b/src/gras/Virtu/virtu_interface.h index c8cb7de9f9..5623091198 100644 --- a/src/gras/Virtu/virtu_interface.h +++ b/src/gras/Virtu/virtu_interface.h @@ -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. */ diff --git a/src/gras/Virtu/virtu_private.h b/src/gras/Virtu/virtu_private.h index 4f761ac8d7..f3f901ee1a 100644 --- a/src/gras/Virtu/virtu_private.h +++ b/src/gras/Virtu/virtu_private.h @@ -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. */ diff --git a/src/gras/Virtu/virtu_rl.h b/src/gras/Virtu/virtu_rl.h index 7d36ed49e3..f8af952033 100644 --- a/src/gras/Virtu/virtu_rl.h +++ b/src/gras/Virtu/virtu_rl.h @@ -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. */ diff --git a/src/gras/Virtu/virtu_sg.h b/src/gras/Virtu/virtu_sg.h index d9e291daba..c1a57a9c1b 100644 --- a/src/gras/Virtu/virtu_sg.h +++ b/src/gras/Virtu/virtu_sg.h @@ -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. */ diff --git a/src/gras/gras.c b/src/gras/gras.c index 5c7f6edc4a..6d1a53fd64 100644 --- a/src/gras/gras.c +++ b/src/gras/gras.c @@ -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. */ diff --git a/src/gras/rl_stubs.c b/src/gras/rl_stubs.c index abd923824f..fd3ad94fa1 100644 --- a/src/gras/rl_stubs.c +++ b/src/gras/rl_stubs.c @@ -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. */ diff --git a/src/gras_modinter.h b/src/gras_modinter.h index 1ec1d7d0bf..4de0a5ea09 100644 --- a/src/gras_modinter.h +++ b/src/gras_modinter.h @@ -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. */ diff --git a/src/include/simix/context.h b/src/include/simix/context.h index a20d7991f4..178b418955 100644 --- a/src/include/simix/context.h +++ b/src/include/simix/context.h @@ -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 diff --git a/src/include/simix/datatypes.h b/src/include/simix/datatypes.h index 863070d1c0..399b101069 100644 --- a/src/include/simix/datatypes.h +++ b/src/include/simix/datatypes.h @@ -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. */ diff --git a/src/include/simix/simix.h b/src/include/simix/simix.h index 2392b6bc00..7b9cb19973 100644 --- a/src/include/simix/simix.h +++ b/src/include/simix/simix.h @@ -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. */ diff --git a/src/include/surf/datatypes.h b/src/include/surf/datatypes.h index 1cc0de5c0b..994c96dffd 100644 --- a/src/include/surf/datatypes.h +++ b/src/include/surf/datatypes.h @@ -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. */ diff --git a/src/include/surf/maxmin.h b/src/include/surf/maxmin.h index bf6f577de1..5fb85bae1a 100644 --- a/src/include/surf/maxmin.h +++ b/src/include/surf/maxmin.h @@ -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. */ diff --git a/src/include/surf/random_mgr.h b/src/include/surf/random_mgr.h index b261a59343..3a75dd4e8e 100644 --- a/src/include/surf/random_mgr.h +++ b/src/include/surf/random_mgr.h @@ -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 diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index 633714c0b4..3de212bc1b 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -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. */ diff --git a/src/include/surf/surf_resource.h b/src/include/surf/surf_resource.h index 23847f4d66..78afcd72f4 100644 --- a/src/include/surf/surf_resource.h +++ b/src/include/surf/surf_resource.h @@ -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. */ diff --git a/src/include/surf/surf_resource_lmm.h b/src/include/surf/surf_resource_lmm.h index 48feddced7..37c437c02f 100644 --- a/src/include/surf/surf_resource_lmm.h +++ b/src/include/surf/surf_resource_lmm.h @@ -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. */ diff --git a/src/include/surf/surfxml_parse_private.h b/src/include/surf/surfxml_parse_private.h index ab389d8276..019c175c49 100644 --- a/src/include/surf/surfxml_parse_private.h +++ b/src/include/surf/surfxml_parse_private.h @@ -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. */ diff --git a/src/include/surf/trace_mgr.h b/src/include/surf/trace_mgr.h index 64a7a89da6..51ed11d684 100644 --- a/src/include/surf/trace_mgr.h +++ b/src/include/surf/trace_mgr.h @@ -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. */ diff --git a/src/include/xbt/xbt_os_thread.h b/src/include/xbt/xbt_os_thread.h index 2c43f3ba39..03f45a27a0 100644 --- a/src/include/xbt/xbt_os_thread.h +++ b/src/include/xbt/xbt_os_thread.h @@ -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. */ diff --git a/src/include/xbt/xbt_os_time.h b/src/include/xbt/xbt_os_time.h index fc48693715..e9f30e4433 100644 --- a/src/include/xbt/xbt_os_time.h +++ b/src/include/xbt/xbt_os_time.h @@ -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. */ diff --git a/src/instr/general.c b/src/instr/general.c index 219f62a2d6..cb90a7942c 100644 --- a/src/instr/general.c +++ b/src/instr/general.c @@ -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" diff --git a/src/instr/interface.c b/src/instr/interface.c index 41c6d05b75..7435699526 100644 --- a/src/instr/interface.c +++ b/src/instr/interface.c @@ -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" diff --git a/src/instr/msg_process_instr.c b/src/instr/msg_process_instr.c index e4e361b914..86875a41b7 100644 --- a/src/instr/msg_process_instr.c +++ b/src/instr/msg_process_instr.c @@ -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" diff --git a/src/instr/msg_task_instr.c b/src/instr/msg_task_instr.c index 96ab84eb80..090fa9d2e4 100644 --- a/src/instr/msg_task_instr.c +++ b/src/instr/msg_task_instr.c @@ -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" diff --git a/src/instr/paje.c b/src/instr/paje.c index 7a7710e311..5253b573f7 100644 --- a/src/instr/paje.c +++ b/src/instr/paje.c @@ -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" diff --git a/src/instr/private.h b/src/instr/private.h index b4ebdcf2aa..a2b9663779 100644 --- a/src/instr/private.h +++ b/src/instr/private.h @@ -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_ diff --git a/src/instr/smx_instr.c b/src/instr/smx_instr.c index 6c996d57e2..cd69d8effb 100644 --- a/src/instr/smx_instr.c +++ b/src/instr/smx_instr.c @@ -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" diff --git a/src/instr/surf_instr.c b/src/instr/surf_instr.c index a81f320483..99e6cb2f26 100644 --- a/src/instr/surf_instr.c +++ b/src/instr/surf_instr.c @@ -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" diff --git a/src/instr/variables_instr.c b/src/instr/variables_instr.c index 7b6be993fe..b69ee94914 100644 --- a/src/instr/variables_instr.c +++ b/src/instr/variables_instr.c @@ -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" diff --git a/src/java/jmsg.c b/src/java/jmsg.c index d7fcb2d92e..c4e40da94a 100644 --- a/src/java/jmsg.c +++ b/src/java/jmsg.c @@ -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" diff --git a/src/java/jmsg.h b/src/java/jmsg.h index 3fbb9bf409..0d0d7a1d79 100644 --- a/src/java/jmsg.h +++ b/src/java/jmsg.h @@ -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 diff --git a/src/java/jmsg_application_handler.c b/src/java/jmsg_application_handler.c index 075a786b4f..f3de817ea7 100644 --- a/src/java/jmsg_application_handler.c +++ b/src/java/jmsg_application_handler.c @@ -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" diff --git a/src/java/jmsg_application_handler.h b/src/java/jmsg_application_handler.h index 6fef706a59..71dcf36890 100644 --- a/src/java/jmsg_application_handler.h +++ b/src/java/jmsg_application_handler.h @@ -1,23 +1,21 @@ -/* - * 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. - * - */ - -#ifndef MSG_JAPPLICATION_HANDLER_H -#define MSG_JAPPLICATION_HANDLER_H - -#include -#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 */ +/* 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 +#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 */ diff --git a/src/java/jmsg_host.c b/src/java/jmsg_host.c index e73e86babd..26edfa2f6e 100644 --- a/src/java/jmsg_host.c +++ b/src/java/jmsg_host.c @@ -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" diff --git a/src/java/jmsg_host.h b/src/java/jmsg_host.h index 4a3b308008..e6574f1a76 100644 --- a/src/java/jmsg_host.h +++ b/src/java/jmsg_host.h @@ -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 diff --git a/src/java/jmsg_process.c b/src/java/jmsg_process.c index 4c774e8bea..c42080fdc5 100644 --- a/src/java/jmsg_process.c +++ b/src/java/jmsg_process.c @@ -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" diff --git a/src/java/jmsg_process.h b/src/java/jmsg_process.h index 5056c45916..8a2aef871c 100644 --- a/src/java/jmsg_process.h +++ b/src/java/jmsg_process.h @@ -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 diff --git a/src/java/jmsg_task.c b/src/java/jmsg_task.c index af5ae1e74e..8ce5de8273 100644 --- a/src/java/jmsg_task.c +++ b/src/java/jmsg_task.c @@ -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" diff --git a/src/java/jmsg_task.h b/src/java/jmsg_task.h index 9e9e0dced6..30c014e2b6 100644 --- a/src/java/jmsg_task.h +++ b/src/java/jmsg_task.h @@ -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 diff --git a/src/java/jxbt_utilities.c b/src/java/jxbt_utilities.c index 43047a636a..af7153ce10 100644 --- a/src/java/jxbt_utilities.c +++ b/src/java/jxbt_utilities.c @@ -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 /* abort */ #include "xbt/misc.h" diff --git a/src/java/jxbt_utilities.h b/src/java/jxbt_utilities.h index fc801a30e1..6563f56229 100644 --- a/src/java/jxbt_utilities.h +++ b/src/java/jxbt_utilities.h @@ -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 diff --git a/src/msg/deployment.c b/src/msg/deployment.c index 93691d6616..9d662f2916 100644 --- a/src/msg/deployment.c +++ b/src/msg/deployment.c @@ -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. */ diff --git a/src/msg/environment.c b/src/msg/environment.c index beb4dfa2ef..8d17dc04af 100644 --- a/src/msg/environment.c +++ b/src/msg/environment.c @@ -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. */ diff --git a/src/msg/global.c b/src/msg/global.c index 6f1c490e2d..6dc3f3b073 100644 --- a/src/msg/global.c +++ b/src/msg/global.c @@ -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. */ diff --git a/src/msg/gos.c b/src/msg/gos.c index 16db861a76..4e90b14b79 100644 --- a/src/msg/gos.c +++ b/src/msg/gos.c @@ -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. */ diff --git a/src/msg/host.c b/src/msg/host.c index d6d2b49955..8cf354179b 100644 --- a/src/msg/host.c +++ b/src/msg/host.c @@ -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. */ diff --git a/src/msg/m_process.c b/src/msg/m_process.c index 595b9a973a..185a1ed652 100644 --- a/src/msg/m_process.c +++ b/src/msg/m_process.c @@ -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. */ diff --git a/src/msg/mailbox.h b/src/msg/mailbox.h index 6e577feae1..ffb8c3c877 100644 --- a/src/msg/mailbox.h +++ b/src/msg/mailbox.h @@ -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 diff --git a/src/msg/msg_actions.c b/src/msg/msg_actions.c index 58f96b0ebc..b7ca3756a6 100644 --- a/src/msg/msg_actions.c +++ b/src/msg/msg_actions.c @@ -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. */ diff --git a/src/msg/msg_config.c b/src/msg/msg_config.c index f62ff38b29..999e6cfb39 100644 --- a/src/msg/msg_config.c +++ b/src/msg/msg_config.c @@ -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. */ diff --git a/src/msg/private.h b/src/msg/private.h index ce0a8f6119..a70973f9eb 100644 --- a/src/msg/private.h +++ b/src/msg/private.h @@ -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. */ diff --git a/src/msg/task.c b/src/msg/task.c index 1d43ecf63f..2b3aaaa680 100644 --- a/src/msg/task.c +++ b/src/msg/task.c @@ -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. */ diff --git a/src/portable.h b/src/portable.h index 12525aa113..7a71ee0129 100644 --- a/src/portable.h +++ b/src/portable.h @@ -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. */ diff --git a/src/simdag/private.h b/src/simdag/private.h index d935fd52fd..9a90996359 100644 --- a/src/simdag/private.h +++ b/src/simdag/private.h @@ -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. */ diff --git a/src/simdag/sd_daxloader.c b/src/simdag/sd_daxloader.c index a9e0a5c181..f1a270e969 100644 --- a/src/simdag/sd_daxloader.c +++ b/src/simdag/sd_daxloader.c @@ -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. */ diff --git a/src/simdag/sd_global.c b/src/simdag/sd_global.c index ac344b333f..093b77ed65 100644 --- a/src/simdag/sd_global.c +++ b/src/simdag/sd_global.c @@ -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. */ diff --git a/src/simdag/sd_link.c b/src/simdag/sd_link.c index 9938c71d9b..ed84a8bb57 100644 --- a/src/simdag/sd_link.c +++ b/src/simdag/sd_link.c @@ -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. */ diff --git a/src/simdag/sd_task.c b/src/simdag/sd_task.c index 42e71c0469..1196233f45 100644 --- a/src/simdag/sd_task.c +++ b/src/simdag/sd_task.c @@ -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. */ diff --git a/src/simdag/sd_workstation.c b/src/simdag/sd_workstation.c index 4c5018d4eb..9e9b2a868d 100644 --- a/src/simdag/sd_workstation.c +++ b/src/simdag/sd_workstation.c @@ -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. */ diff --git a/src/simix/private.h b/src/simix/private.h index feea909442..6e7b3289cf 100644 --- a/src/simix/private.h +++ b/src/simix/private.h @@ -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. */ diff --git a/src/simix/smx_action.c b/src/simix/smx_action.c index b4a3b67921..73867517d0 100644 --- a/src/simix/smx_action.c +++ b/src/simix/smx_action.c @@ -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. */ diff --git a/src/simix/smx_context.c b/src/simix/smx_context.c index 601736e980..7bc68a7069 100644 --- a/src/simix/smx_context.c +++ b/src/simix/smx_context.c @@ -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. */ diff --git a/src/simix/smx_context_base.c b/src/simix/smx_context_base.c index a36e83b040..88b7875783 100644 --- a/src/simix/smx_context_base.c +++ b/src/simix/smx_context_base.c @@ -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. */ diff --git a/src/simix/smx_context_java.c b/src/simix/smx_context_java.c index 16dc2d93a0..87139b6bcc 100644 --- a/src/simix/smx_context_java.c +++ b/src/simix/smx_context_java.c @@ -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. */ diff --git a/src/simix/smx_context_java.h b/src/simix/smx_context_java.h index b43ab358e5..5bcb8edae5 100644 --- a/src/simix/smx_context_java.h +++ b/src/simix/smx_context_java.h @@ -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 diff --git a/src/simix/smx_context_lua.c b/src/simix/smx_context_lua.c index 2218c5b220..2d1b5c3ce6 100644 --- a/src/simix/smx_context_lua.c +++ b/src/simix/smx_context_lua.c @@ -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. */ diff --git a/src/simix/smx_context_private.h b/src/simix/smx_context_private.h index d2e0ef24f8..3769c9bb7d 100644 --- a/src/simix/smx_context_private.h +++ b/src/simix/smx_context_private.h @@ -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. */ diff --git a/src/simix/smx_context_ruby.c b/src/simix/smx_context_ruby.c index f54caf6259..f3361d11c8 100644 --- a/src/simix/smx_context_ruby.c +++ b/src/simix/smx_context_ruby.c @@ -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. */ diff --git a/src/simix/smx_context_sysv.c b/src/simix/smx_context_sysv.c index 844f175f17..9f07c24a87 100644 --- a/src/simix/smx_context_sysv.c +++ b/src/simix/smx_context_sysv.c @@ -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. */ diff --git a/src/simix/smx_context_sysv_private.h b/src/simix/smx_context_sysv_private.h index 47d8096524..d98d79a793 100644 --- a/src/simix/smx_context_sysv_private.h +++ b/src/simix/smx_context_sysv_private.h @@ -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. */ diff --git a/src/simix/smx_context_thread.c b/src/simix/smx_context_thread.c index 75d998feb5..51593917ca 100644 --- a/src/simix/smx_context_thread.c +++ b/src/simix/smx_context_thread.c @@ -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. */ diff --git a/src/simix/smx_deployment.c b/src/simix/smx_deployment.c index e8c41928f1..54ae08af2a 100644 --- a/src/simix/smx_deployment.c +++ b/src/simix/smx_deployment.c @@ -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. */ diff --git a/src/simix/smx_environment.c b/src/simix/smx_environment.c index 5a40557caa..dd51dd0914 100644 --- a/src/simix/smx_environment.c +++ b/src/simix/smx_environment.c @@ -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. */ diff --git a/src/simix/smx_global.c b/src/simix/smx_global.c index 7df72d6e62..c82f0cedf4 100644 --- a/src/simix/smx_global.c +++ b/src/simix/smx_global.c @@ -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. */ diff --git a/src/simix/smx_host.c b/src/simix/smx_host.c index 699c67e2df..9a19d0886d 100644 --- a/src/simix/smx_host.c +++ b/src/simix/smx_host.c @@ -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. */ diff --git a/src/simix/smx_network.c b/src/simix/smx_network.c index 941dcce71b..0b48fa6d3c 100644 --- a/src/simix/smx_network.c +++ b/src/simix/smx_network.c @@ -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. */ diff --git a/src/simix/smx_process.c b/src/simix/smx_process.c index 4b74ffe7a3..f3096b92f5 100644 --- a/src/simix/smx_process.c +++ b/src/simix/smx_process.c @@ -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. */ diff --git a/src/simix/smx_synchro.c b/src/simix/smx_synchro.c index 77170c58a2..1aaacc5808 100644 --- a/src/simix/smx_synchro.c +++ b/src/simix/smx_synchro.c @@ -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. */ diff --git a/src/smpi/private.h b/src/smpi/private.h index 4a5eccde73..1265260410 100644 --- a/src/smpi/private.h +++ b/src/smpi/private.h @@ -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 diff --git a/src/smpi/sample/reduce.c b/src/smpi/sample/reduce.c index b71c1a6934..d939385bba 100644 --- a/src/smpi/sample/reduce.c +++ b/src/smpi/sample/reduce.c @@ -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 #include diff --git a/src/smpi/smpi_base.c b/src/smpi/smpi_base.c index a60f2098d2..da3f3898b9 100644 --- a/src/smpi/smpi_base.c +++ b/src/smpi/smpi_base.c @@ -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" diff --git a/src/smpi/smpi_bench.c b/src/smpi/smpi_bench.c index 295f8ceac4..c449dfb784 100644 --- a/src/smpi/smpi_bench.c +++ b/src/smpi/smpi_bench.c @@ -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, diff --git a/src/smpi/smpi_coll.c b/src/smpi/smpi_coll.c index 874d32a48d..d1984b0a26 100644 --- a/src/smpi/smpi_coll.c +++ b/src/smpi/smpi_coll.c @@ -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 #include diff --git a/src/smpi/smpi_coll_private.h b/src/smpi/smpi_coll_private.h index 13b1a5d824..d0c3022741 100644 --- a/src/smpi/smpi_coll_private.h +++ b/src/smpi/smpi_coll_private.h @@ -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" diff --git a/src/smpi/smpi_comm.c b/src/smpi/smpi_comm.c index 59aa85d390..7b6b34c20a 100644 --- a/src/smpi/smpi_comm.c +++ b/src/smpi/smpi_comm.c @@ -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, diff --git a/src/smpi/smpi_global.c b/src/smpi/smpi_global.c index 9a277df819..dc7edf4f57 100644 --- a/src/smpi/smpi_global.c +++ b/src/smpi/smpi_global.c @@ -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 #include "private.h" diff --git a/src/smpi/smpi_group.c b/src/smpi/smpi_group.c index 0d7b4f8a0f..a61e374e57 100644 --- a/src/smpi/smpi_group.c +++ b/src/smpi/smpi_group.c @@ -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, diff --git a/src/smpi/smpi_mpi.c b/src/smpi/smpi_mpi.c index 60bbfd675e..fa6bcd90ac 100644 --- a/src/smpi/smpi_mpi.c +++ b/src/smpi/smpi_mpi.c @@ -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" diff --git a/src/smpi/smpi_mpi_dt.c b/src/smpi/smpi_mpi_dt.c index f2453c03bc..d553e0d3cb 100644 --- a/src/smpi/smpi_mpi_dt.c +++ b/src/smpi/smpi_mpi_dt.c @@ -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 #include diff --git a/src/smpi/smpi_mpi_dt_private.h b/src/smpi/smpi_mpi_dt_private.h index 21df279eac..5034bb3cc5 100644 --- a/src/smpi/smpi_mpi_dt_private.h +++ b/src/smpi/smpi_mpi_dt_private.h @@ -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 */ diff --git a/src/smpi/smpi_util.c b/src/smpi/smpi_util.c index 1e2fb2c079..29f570bfcc 100644 --- a/src/smpi/smpi_util.c +++ b/src/smpi/smpi_util.c @@ -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, diff --git a/src/surf/cpu.c b/src/surf/cpu.c index fb6e449e5e..07761ee09e 100644 --- a/src/surf/cpu.c +++ b/src/surf/cpu.c @@ -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. */ diff --git a/src/surf/cpu_im.c b/src/surf/cpu_im.c index 6686c4aeef..694b8e82a5 100644 --- a/src/surf/cpu_im.c +++ b/src/surf/cpu_im.c @@ -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. */ diff --git a/src/surf/cpu_ti.c b/src/surf/cpu_ti.c index 7ce67d0f1b..a3bfa2fc7b 100644 --- a/src/surf/cpu_ti.c +++ b/src/surf/cpu_ti.c @@ -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. */ diff --git a/src/surf/cpu_ti_private.h b/src/surf/cpu_ti_private.h index e2014f27ad..a99988ba9c 100644 --- a/src/surf/cpu_ti_private.h +++ b/src/surf/cpu_ti_private.h @@ -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. */ diff --git a/src/surf/fair_bottleneck.c b/src/surf/fair_bottleneck.c index 47c070b5ed..d707587f18 100644 --- a/src/surf/fair_bottleneck.c +++ b/src/surf/fair_bottleneck.c @@ -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. */ diff --git a/src/surf/gtnets/gtnets_interface.h b/src/surf/gtnets/gtnets_interface.h index 675968d6c3..10a358ce14 100644 --- a/src/surf/gtnets/gtnets_interface.h +++ b/src/surf/gtnets/gtnets_interface.h @@ -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. */ diff --git a/src/surf/gtnets/gtnets_simulator.h b/src/surf/gtnets/gtnets_simulator.h index dd36525b88..9a88c7417c 100644 --- a/src/surf/gtnets/gtnets_simulator.h +++ b/src/surf/gtnets/gtnets_simulator.h @@ -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. */ diff --git a/src/surf/gtnets/gtnets_topology.h b/src/surf/gtnets/gtnets_topology.h index f3a2bcc2b5..d73d6b1fcc 100644 --- a/src/surf/gtnets/gtnets_topology.h +++ b/src/surf/gtnets/gtnets_topology.h @@ -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. */ diff --git a/src/surf/lagrange.c b/src/surf/lagrange.c index 8b38dbfd05..f46883e957 100644 --- a/src/surf/lagrange.c +++ b/src/surf/lagrange.c @@ -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: diff --git a/src/surf/maxmin.c b/src/surf/maxmin.c index e0d093bc1e..027fca4747 100644 --- a/src/surf/maxmin.c +++ b/src/surf/maxmin.c @@ -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. */ diff --git a/src/surf/maxmin_private.h b/src/surf/maxmin_private.h index 7d02bd7da3..6195bbe7f6 100644 --- a/src/surf/maxmin_private.h +++ b/src/surf/maxmin_private.h @@ -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. */ diff --git a/src/surf/network.c b/src/surf/network.c index 8a9c9cef29..de86cc00a6 100644 --- a/src/surf/network.c +++ b/src/surf/network.c @@ -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. */ diff --git a/src/surf/network_constant.c b/src/surf/network_constant.c index 74a319be31..10e25fd342 100644 --- a/src/surf/network_constant.c +++ b/src/surf/network_constant.c @@ -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. */ diff --git a/src/surf/network_gtnets.c b/src/surf/network_gtnets.c index 756f780044..11e6089998 100644 --- a/src/surf/network_gtnets.c +++ b/src/surf/network_gtnets.c @@ -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. */ diff --git a/src/surf/network_gtnets_private.h b/src/surf/network_gtnets_private.h index 2a6534c5da..f712870926 100644 --- a/src/surf/network_gtnets_private.h +++ b/src/surf/network_gtnets_private.h @@ -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. */ diff --git a/src/surf/network_private.h b/src/surf/network_private.h index 137203abd1..dd9a6f2cd7 100644 --- a/src/surf/network_private.h +++ b/src/surf/network_private.h @@ -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. */ diff --git a/src/surf/network_vivaldi.c b/src/surf/network_vivaldi.c index 2d820c9224..3be1d3172a 100644 --- a/src/surf/network_vivaldi.c +++ b/src/surf/network_vivaldi.c @@ -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. */ diff --git a/src/surf/random_mgr.c b/src/surf/random_mgr.c index f22b26b4d5..f09822660f 100644 --- a/src/surf/random_mgr.c +++ b/src/surf/random_mgr.c @@ -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" diff --git a/src/surf/surf.c b/src/surf/surf.c index a211395bf9..b33f3950fd 100644 --- a/src/surf/surf.c +++ b/src/surf/surf.c @@ -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. */ diff --git a/src/surf/surf_action.c b/src/surf/surf_action.c index d77ca45cf1..7a5734dab3 100644 --- a/src/surf/surf_action.c +++ b/src/surf/surf_action.c @@ -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. */ diff --git a/src/surf/surf_config.c b/src/surf/surf_config.c index 420687a2c3..7446e4fd8f 100644 --- a/src/surf/surf_config.c +++ b/src/surf/surf_config.c @@ -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. */ diff --git a/src/surf/surf_model.c b/src/surf/surf_model.c index 2e9700e1aa..77134100b1 100644 --- a/src/surf/surf_model.c +++ b/src/surf/surf_model.c @@ -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. */ diff --git a/src/surf/surf_model_timer.c b/src/surf/surf_model_timer.c index d0d77cd61f..5a448d1037 100644 --- a/src/surf/surf_model_timer.c +++ b/src/surf/surf_model_timer.c @@ -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. */ diff --git a/src/surf/surf_private.h b/src/surf/surf_private.h index 7d0d1a36a5..276cb4c8c2 100644 --- a/src/surf/surf_private.h +++ b/src/surf/surf_private.h @@ -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. */ diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index a06925cd0c..fef83e49b4 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -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. */ diff --git a/src/surf/surfxml_parse.c b/src/surf/surfxml_parse.c index 0384741e08..f312e78858 100644 --- a/src/surf/surfxml_parse.c +++ b/src/surf/surfxml_parse.c @@ -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. */ diff --git a/src/surf/trace_mgr.c b/src/surf/trace_mgr.c index 7cc122601d..fba9362909 100644 --- a/src/surf/trace_mgr.c +++ b/src/surf/trace_mgr.c @@ -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. */ diff --git a/src/surf/trace_mgr_private.h b/src/surf/trace_mgr_private.h index 0083cb91c1..c3c6120182 100644 --- a/src/surf/trace_mgr_private.h +++ b/src/surf/trace_mgr_private.h @@ -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. */ diff --git a/src/surf/workstation.c b/src/surf/workstation.c index b859aa3eba..5200b004a2 100644 --- a/src/surf/workstation.c +++ b/src/surf/workstation.c @@ -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. */ diff --git a/src/surf/workstation_ptask_L07.c b/src/surf/workstation_ptask_L07.c index 6b7e0aa30d..7fbc8e9542 100644 --- a/src/surf/workstation_ptask_L07.c +++ b/src/surf/workstation_ptask_L07.c @@ -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. */ diff --git a/src/win32/compiler/borland.h b/src/win32/compiler/borland.h index 840d627af5..ef101bb12d 100644 --- a/src/win32/compiler/borland.h +++ b/src/win32/compiler/borland.h @@ -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. */ diff --git a/src/win32/compiler/select_compiler_features.h b/src/win32/compiler/select_compiler_features.h index 12b61f11ff..2c044a76fa 100644 --- a/src/win32/compiler/select_compiler_features.h +++ b/src/win32/compiler/select_compiler_features.h @@ -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. */ diff --git a/src/win32/compiler/visualc.h b/src/win32/compiler/visualc.h index 0ed25e8114..bff6a33ffb 100644 --- a/src/win32/compiler/visualc.h +++ b/src/win32/compiler/visualc.h @@ -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. */ diff --git a/src/win32/config.h b/src/win32/config.h index 78b1b3ac89..f80fd224f1 100644 --- a/src/win32/config.h +++ b/src/win32/config.h @@ -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. */ diff --git a/src/win32/platform/select_platform_features.h b/src/win32/platform/select_platform_features.h index 6ed34f17f9..92830d739a 100644 --- a/src/win32/platform/select_platform_features.h +++ b/src/win32/platform/select_platform_features.h @@ -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. */ diff --git a/src/xbt/asserts.c b/src/xbt/asserts.c index afb6325ce4..e70f983fe3 100644 --- a/src/xbt/asserts.c +++ b/src/xbt/asserts.c @@ -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. */ diff --git a/src/xbt/backtrace_dummy.c b/src/xbt/backtrace_dummy.c index 823f685669..a4ba715b37 100644 --- a/src/xbt/backtrace_dummy.c +++ b/src/xbt/backtrace_dummy.c @@ -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. */ diff --git a/src/xbt/backtrace_linux.c b/src/xbt/backtrace_linux.c index 89e229f753..acdf28cdeb 100644 --- a/src/xbt/backtrace_linux.c +++ b/src/xbt/backtrace_linux.c @@ -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. */ diff --git a/src/xbt/backtrace_windows.c b/src/xbt/backtrace_windows.c index 34c2d186e2..edfc31bfab 100644 --- a/src/xbt/backtrace_windows.c +++ b/src/xbt/backtrace_windows.c @@ -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. */ diff --git a/src/xbt/config.c b/src/xbt/config.c index f8f38400fc..442c3a2cdd 100644 --- a/src/xbt/config.c +++ b/src/xbt/config.c @@ -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. */ diff --git a/src/xbt/cunit.c b/src/xbt/cunit.c index 8b9204c0d5..4572af1b57 100644 --- a/src/xbt/cunit.c +++ b/src/xbt/cunit.c @@ -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. */ diff --git a/src/xbt/dict.c b/src/xbt/dict.c index 21b8f6019b..150bf69d00 100644 --- a/src/xbt/dict.c +++ b/src/xbt/dict.c @@ -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. */ diff --git a/src/xbt/dict_cursor.c b/src/xbt/dict_cursor.c index b64b6bbb62..5aad0a5949 100644 --- a/src/xbt/dict_cursor.c +++ b/src/xbt/dict_cursor.c @@ -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. */ diff --git a/src/xbt/dict_elm.c b/src/xbt/dict_elm.c index 497cf51bac..9297ce5607 100644 --- a/src/xbt/dict_elm.c +++ b/src/xbt/dict_elm.c @@ -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. */ diff --git a/src/xbt/dict_multi.c b/src/xbt/dict_multi.c index 4a555913f2..93e0104cdd 100644 --- a/src/xbt/dict_multi.c +++ b/src/xbt/dict_multi.c @@ -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. */ diff --git a/src/xbt/dict_private.h b/src/xbt/dict_private.h index f89f7432a4..0096394024 100644 --- a/src/xbt/dict_private.h +++ b/src/xbt/dict_private.h @@ -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. */ diff --git a/src/xbt/dynar.c b/src/xbt/dynar.c index 9cdc39febb..67ef048ed6 100644 --- a/src/xbt/dynar.c +++ b/src/xbt/dynar.c @@ -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. */ diff --git a/src/xbt/error.c b/src/xbt/error.c index 6a06ad836e..24abc680c5 100644 --- a/src/xbt/error.c +++ b/src/xbt/error.c @@ -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" diff --git a/src/xbt/ex_interface.h b/src/xbt/ex_interface.h index 56d3dbc18d..6723c05225 100644 --- a/src/xbt/ex_interface.h +++ b/src/xbt/ex_interface.h @@ -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. */ diff --git a/src/xbt/fifo.c b/src/xbt/fifo.c index ba7c0b2dfd..4eb49ddc9d 100644 --- a/src/xbt/fifo.c +++ b/src/xbt/fifo.c @@ -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. */ diff --git a/src/xbt/fifo_private.h b/src/xbt/fifo_private.h index b8a74ef7be..0259380fe5 100644 --- a/src/xbt/fifo_private.h +++ b/src/xbt/fifo_private.h @@ -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. */ diff --git a/src/xbt/graph.c b/src/xbt/graph.c index b51fb15414..f776c5e5c6 100644 --- a/src/xbt/graph.c +++ b/src/xbt/graph.c @@ -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. */ diff --git a/src/xbt/graph_private.h b/src/xbt/graph_private.h index 4f6645aed2..9958c8df58 100644 --- a/src/xbt/graph_private.h +++ b/src/xbt/graph_private.h @@ -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. */ diff --git a/src/xbt/graphxml_parse.c b/src/xbt/graphxml_parse.c index d2517617de..01198fa8f8 100644 --- a/src/xbt/graphxml_parse.c +++ b/src/xbt/graphxml_parse.c @@ -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. */ diff --git a/src/xbt/heap.c b/src/xbt/heap.c index 84eedac187..80327379f6 100644 --- a/src/xbt/heap.c +++ b/src/xbt/heap.c @@ -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. */ diff --git a/src/xbt/heap_private.h b/src/xbt/heap_private.h index a426393df3..521b17d280 100644 --- a/src/xbt/heap_private.h +++ b/src/xbt/heap_private.h @@ -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. */ diff --git a/src/xbt/log.c b/src/xbt/log.c index 79d27c1de5..b75511005a 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -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. */ diff --git a/src/xbt/log_private.h b/src/xbt/log_private.h index 1680b5956d..204e5cb21c 100644 --- a/src/xbt/log_private.h +++ b/src/xbt/log_private.h @@ -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. */ diff --git a/src/xbt/mallocator.c b/src/xbt/mallocator.c index 460dda86aa..ebc063be4a 100644 --- a/src/xbt/mallocator.c +++ b/src/xbt/mallocator.c @@ -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. */ diff --git a/src/xbt/mallocator_private.h b/src/xbt/mallocator_private.h index 952564cfec..dd46527802 100644 --- a/src/xbt/mallocator_private.h +++ b/src/xbt/mallocator_private.h @@ -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. */ diff --git a/src/xbt/set.c b/src/xbt/set.c index 27f9aaee96..c5d84656da 100644 --- a/src/xbt/set.c +++ b/src/xbt/set.c @@ -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. */ diff --git a/src/xbt/swag.c b/src/xbt/swag.c index 4b211c18aa..9d69e43ec5 100644 --- a/src/xbt/swag.c +++ b/src/xbt/swag.c @@ -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. */ diff --git a/src/xbt/xbt_log_appender_file.c b/src/xbt/xbt_log_appender_file.c index 17b3a678db..d27db25e74 100644 --- a/src/xbt/xbt_log_appender_file.c +++ b/src/xbt/xbt_log_appender_file.c @@ -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. */ diff --git a/src/xbt/xbt_log_layout_format.c b/src/xbt/xbt_log_layout_format.c index 1b9c6adebc..0baafcb3a9 100644 --- a/src/xbt/xbt_log_layout_format.c +++ b/src/xbt/xbt_log_layout_format.c @@ -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. */ diff --git a/src/xbt/xbt_log_layout_simple.c b/src/xbt/xbt_log_layout_simple.c index ee1a74bf18..277ea18e6c 100644 --- a/src/xbt/xbt_log_layout_simple.c +++ b/src/xbt/xbt_log_layout_simple.c @@ -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. */ diff --git a/src/xbt/xbt_main.c b/src/xbt/xbt_main.c index 3046752ef4..da053ee824 100644 --- a/src/xbt/xbt_main.c +++ b/src/xbt/xbt_main.c @@ -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. */ diff --git a/src/xbt/xbt_matrix.c b/src/xbt/xbt_matrix.c index df43f448bc..fabd5a34ca 100644 --- a/src/xbt/xbt_matrix.c +++ b/src/xbt/xbt_matrix.c @@ -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. */ diff --git a/src/xbt/xbt_os_thread.c b/src/xbt/xbt_os_thread.c index d47334d76e..55be50b3e4 100644 --- a/src/xbt/xbt_os_thread.c +++ b/src/xbt/xbt_os_thread.c @@ -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. */ diff --git a/src/xbt/xbt_os_time.c b/src/xbt/xbt_os_time.c index 2846315f72..0345e0f5eb 100644 --- a/src/xbt/xbt_os_time.c +++ b/src/xbt/xbt_os_time.c @@ -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. */ diff --git a/src/xbt/xbt_peer.c b/src/xbt/xbt_peer.c index 53e900453d..a4625888eb 100644 --- a/src/xbt/xbt_peer.c +++ b/src/xbt/xbt_peer.c @@ -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. */ diff --git a/src/xbt/xbt_queue.c b/src/xbt/xbt_queue.c index b609da3b3b..74b19d9aed 100644 --- a/src/xbt/xbt_queue.c +++ b/src/xbt/xbt_queue.c @@ -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. */ diff --git a/src/xbt/xbt_rl_synchro.c b/src/xbt/xbt_rl_synchro.c index aa3a5edbb3..0bdbba6ea0 100644 --- a/src/xbt/xbt_rl_synchro.c +++ b/src/xbt/xbt_rl_synchro.c @@ -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. */ diff --git a/src/xbt/xbt_rl_time.c b/src/xbt/xbt_rl_time.c index 416bcbbe32..bd035b16ce 100644 --- a/src/xbt/xbt_rl_time.c +++ b/src/xbt/xbt_rl_time.c @@ -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. */ diff --git a/src/xbt/xbt_sg_stubs.c b/src/xbt/xbt_sg_stubs.c index 2c3438a6f0..d91a9553d8 100644 --- a/src/xbt/xbt_sg_stubs.c +++ b/src/xbt/xbt_sg_stubs.c @@ -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. */ diff --git a/src/xbt/xbt_sg_synchro.c b/src/xbt/xbt_sg_synchro.c index 518d19a01f..0dcca4cbe2 100644 --- a/src/xbt/xbt_sg_synchro.c +++ b/src/xbt/xbt_sg_synchro.c @@ -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. */ diff --git a/src/xbt/xbt_sg_time.c b/src/xbt/xbt_sg_time.c index 356f8ed86f..c8ea62efc1 100644 --- a/src/xbt/xbt_sg_time.c +++ b/src/xbt/xbt_sg_time.c @@ -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. */ diff --git a/src/xbt/xbt_sha.c b/src/xbt/xbt_sha.c index e1f51f3703..7fe54419c0 100644 --- a/src/xbt/xbt_sha.c +++ b/src/xbt/xbt_sha.c @@ -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. */ diff --git a/src/xbt/xbt_str.c b/src/xbt/xbt_str.c index 35b5e39e76..52911c5334 100644 --- a/src/xbt/xbt_str.c +++ b/src/xbt/xbt_str.c @@ -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" diff --git a/src/xbt/xbt_strbuff.c b/src/xbt/xbt_strbuff.c index c40e0fc19b..4fc5f63bf8 100644 --- a/src/xbt/xbt_strbuff.c +++ b/src/xbt/xbt_strbuff.c @@ -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. */ diff --git a/src/xbt/xbt_synchro.c b/src/xbt/xbt_synchro.c index eb9e0af73c..d10885d74a 100644 --- a/src/xbt/xbt_synchro.c +++ b/src/xbt/xbt_synchro.c @@ -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. */ diff --git a/src/xbt/xbt_virtu.c b/src/xbt/xbt_virtu.c index 47a06500e6..50ac9526bf 100644 --- a/src/xbt/xbt_virtu.c +++ b/src/xbt/xbt_virtu.c @@ -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. */ diff --git a/src/xbt_modinter.h b/src/xbt_modinter.h index e8377b7116..7ad2c4fe8d 100644 --- a/src/xbt_modinter.h +++ b/src/xbt_modinter.h @@ -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. */ diff --git a/teshsuite/gras/datadesc/datadesc_usage.c b/teshsuite/gras/datadesc/datadesc_usage.c index 8360d3c705..ac8e05d4ab 100644 --- a/teshsuite/gras/datadesc/datadesc_usage.c +++ b/teshsuite/gras/datadesc/datadesc_usage.c @@ -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. */ diff --git a/teshsuite/gras/empty_main/empty_main.c b/teshsuite/gras/empty_main/empty_main.c index c119a6c605..f2a9d00bd9 100644 --- a/teshsuite/gras/empty_main/empty_main.c +++ b/teshsuite/gras/empty_main/empty_main.c @@ -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. */ diff --git a/teshsuite/gras/msg_handle/msg_handle.c b/teshsuite/gras/msg_handle/msg_handle.c index 7c2eb8fe0b..678115b1d7 100644 --- a/teshsuite/gras/msg_handle/msg_handle.c +++ b/teshsuite/gras/msg_handle/msg_handle.c @@ -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 diff --git a/teshsuite/gras/small_sleep/small_sleep.c b/teshsuite/gras/small_sleep/small_sleep.c index 03a6387a7d..6a44331bca 100644 --- a/teshsuite/gras/small_sleep/small_sleep.c +++ b/teshsuite/gras/small_sleep/small_sleep.c @@ -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. */ diff --git a/teshsuite/msg/get_sender.c b/teshsuite/msg/get_sender.c index b8655746f4..14419322a6 100644 --- a/teshsuite/msg/get_sender.c +++ b/teshsuite/msg/get_sender.c @@ -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 #include "msg/msg.h" #include diff --git a/teshsuite/simdag/basic0.c b/teshsuite/simdag/basic0.c index ccbdf4ec70..d66eb00112 100644 --- a/teshsuite/simdag/basic0.c +++ b/teshsuite/simdag/basic0.c @@ -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. */ diff --git a/teshsuite/simdag/basic1.c b/teshsuite/simdag/basic1.c index 1e4e027167..2dccd6f755 100644 --- a/teshsuite/simdag/basic1.c +++ b/teshsuite/simdag/basic1.c @@ -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 #include #include "simdag/simdag.h" diff --git a/teshsuite/simdag/basic2.c b/teshsuite/simdag/basic2.c index 9a76191276..78bf4cfccb 100644 --- a/teshsuite/simdag/basic2.c +++ b/teshsuite/simdag/basic2.c @@ -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 #include #include "simdag/simdag.h" diff --git a/teshsuite/simdag/basic3.c b/teshsuite/simdag/basic3.c index 87d5c78154..9e764a7b7b 100644 --- a/teshsuite/simdag/basic3.c +++ b/teshsuite/simdag/basic3.c @@ -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 #include #include "simdag/simdag.h" diff --git a/teshsuite/simdag/basic4.c b/teshsuite/simdag/basic4.c index 1fa7b948ed..bdf7be3821 100644 --- a/teshsuite/simdag/basic4.c +++ b/teshsuite/simdag/basic4.c @@ -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 #include #include "simdag/simdag.h" diff --git a/teshsuite/simdag/basic5.c b/teshsuite/simdag/basic5.c index 660b0a81ab..c79e1621b6 100644 --- a/teshsuite/simdag/basic5.c +++ b/teshsuite/simdag/basic5.c @@ -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 #include #include "simdag/simdag.h" diff --git a/teshsuite/simdag/basic6.c b/teshsuite/simdag/basic6.c index 9dcc466924..176719b3ba 100644 --- a/teshsuite/simdag/basic6.c +++ b/teshsuite/simdag/basic6.c @@ -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 #include #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 }; diff --git a/teshsuite/simdag/network/mxn/test_intra_all2all.c b/teshsuite/simdag/network/mxn/test_intra_all2all.c index 1fe82e42c4..bb9dfdde51 100644 --- a/teshsuite/simdag/network/mxn/test_intra_all2all.c +++ b/teshsuite/simdag/network/mxn/test_intra_all2all.c @@ -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 #include diff --git a/teshsuite/simdag/network/mxn/test_intra_independent_comm.c b/teshsuite/simdag/network/mxn/test_intra_independent_comm.c index d0a53a6a70..a4f4bfbd34 100644 --- a/teshsuite/simdag/network/mxn/test_intra_independent_comm.c +++ b/teshsuite/simdag/network/mxn/test_intra_independent_comm.c @@ -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 #include diff --git a/teshsuite/simdag/network/mxn/test_intra_scatter.c b/teshsuite/simdag/network/mxn/test_intra_scatter.c index 6884438d83..2c9f00b608 100644 --- a/teshsuite/simdag/network/mxn/test_intra_scatter.c +++ b/teshsuite/simdag/network/mxn/test_intra_scatter.c @@ -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 #include diff --git a/teshsuite/simdag/network/p2p/test_latency1.c b/teshsuite/simdag/network/p2p/test_latency1.c index eb2e9e44df..6b99c39f95 100644 --- a/teshsuite/simdag/network/p2p/test_latency1.c +++ b/teshsuite/simdag/network/p2p/test_latency1.c @@ -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 #include diff --git a/teshsuite/simdag/network/p2p/test_latency2.c b/teshsuite/simdag/network/p2p/test_latency2.c index 4e2dd74445..a29803d9c5 100644 --- a/teshsuite/simdag/network/p2p/test_latency2.c +++ b/teshsuite/simdag/network/p2p/test_latency2.c @@ -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 #include diff --git a/teshsuite/simdag/network/p2p/test_latency3.c b/teshsuite/simdag/network/p2p/test_latency3.c index c6f95cd8ec..cd85602894 100644 --- a/teshsuite/simdag/network/p2p/test_latency3.c +++ b/teshsuite/simdag/network/p2p/test_latency3.c @@ -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 #include diff --git a/teshsuite/simdag/network/p2p/test_latency_bound.c b/teshsuite/simdag/network/p2p/test_latency_bound.c index 628d6757b6..c506d7979a 100644 --- a/teshsuite/simdag/network/p2p/test_latency_bound.c +++ b/teshsuite/simdag/network/p2p/test_latency_bound.c @@ -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 #include diff --git a/teshsuite/simdag/network/test_reinit_costs.c b/teshsuite/simdag/network/test_reinit_costs.c index 340d41b5b0..1fbd3daf64 100644 --- a/teshsuite/simdag/network/test_reinit_costs.c +++ b/teshsuite/simdag/network/test_reinit_costs.c @@ -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 #include #include "simdag/simdag.h" -/* - * SimDag - * Computation tests - * Copyright (C) 2007 - * Sascha Hunold, Frederic Suter - */ - /* * This test checks if the reinitialization of * surf works properly. diff --git a/teshsuite/simdag/partask/test_comp_only_par.c b/teshsuite/simdag/partask/test_comp_only_par.c index 1da6d78543..e75d0854f0 100644 --- a/teshsuite/simdag/partask/test_comp_only_par.c +++ b/teshsuite/simdag/partask/test_comp_only_par.c @@ -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 #include diff --git a/teshsuite/simdag/partask/test_comp_only_seq.c b/teshsuite/simdag/partask/test_comp_only_seq.c index b27fe60e8f..db4e202569 100644 --- a/teshsuite/simdag/partask/test_comp_only_seq.c +++ b/teshsuite/simdag/partask/test_comp_only_seq.c @@ -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 #include diff --git a/teshsuite/simdag/platforms/basic_parsing_test.c b/teshsuite/simdag/platforms/basic_parsing_test.c index d2a243e8a0..20d05671f8 100644 --- a/teshsuite/simdag/platforms/basic_parsing_test.c +++ b/teshsuite/simdag/platforms/basic_parsing_test.c @@ -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 #include #include "simdag/simdag.h" diff --git a/teshsuite/simdag/platforms/flatifier.c b/teshsuite/simdag/platforms/flatifier.c index 33ea0642ce..603a568b25 100644 --- a/teshsuite/simdag/platforms/flatifier.c +++ b/teshsuite/simdag/platforms/flatifier.c @@ -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 diff --git a/teshsuite/xbt/log_large_test.c b/teshsuite/xbt/log_large_test.c index 9eb95a03c9..4e0559d37a 100644 --- a/teshsuite/xbt/log_large_test.c +++ b/teshsuite/xbt/log_large_test.c @@ -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. */ diff --git a/teshsuite/xbt/parallel_log_crashtest.c b/teshsuite/xbt/parallel_log_crashtest.c index b69b4c571f..f606f437a1 100644 --- a/teshsuite/xbt/parallel_log_crashtest.c +++ b/teshsuite/xbt/parallel_log_crashtest.c @@ -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. */ diff --git a/testsuite/simdag/sd_test.c b/testsuite/simdag/sd_test.c index e5b1775ce3..44d3680b35 100644 --- a/testsuite/simdag/sd_test.c +++ b/testsuite/simdag/sd_test.c @@ -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 #include #include "simdag/simdag.h" diff --git a/testsuite/surf/lmm_usage.c b/testsuite/surf/lmm_usage.c index 5ae7e20a4d..df8857cdde 100644 --- a/testsuite/surf/lmm_usage.c +++ b/testsuite/surf/lmm_usage.c @@ -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. */ diff --git a/testsuite/surf/maxmin_bench.c b/testsuite/surf/maxmin_bench.c index f462bfe383..29b886c8bf 100644 --- a/testsuite/surf/maxmin_bench.c +++ b/testsuite/surf/maxmin_bench.c @@ -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. */ diff --git a/testsuite/surf/surf_usage.c b/testsuite/surf/surf_usage.c index 9b01300307..1bc9289bee 100644 --- a/testsuite/surf/surf_usage.c +++ b/testsuite/surf/surf_usage.c @@ -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. */ diff --git a/testsuite/surf/surf_usage2.c b/testsuite/surf/surf_usage2.c index 876d6dd752..8be876df57 100644 --- a/testsuite/surf/surf_usage2.c +++ b/testsuite/surf/surf_usage2.c @@ -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. */ diff --git a/testsuite/surf/trace_usage.c b/testsuite/surf/trace_usage.c index 1d0dcb34a2..53d3e29674 100644 --- a/testsuite/surf/trace_usage.c +++ b/testsuite/surf/trace_usage.c @@ -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. */ diff --git a/testsuite/xbt/graphxml_usage.c b/testsuite/xbt/graphxml_usage.c index 588a149145..a95b61a8fe 100644 --- a/testsuite/xbt/graphxml_usage.c +++ b/testsuite/xbt/graphxml_usage.c @@ -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. */ diff --git a/testsuite/xbt/heap_bench.c b/testsuite/xbt/heap_bench.c index c9f3bfb175..ad0871171b 100644 --- a/testsuite/xbt/heap_bench.c +++ b/testsuite/xbt/heap_bench.c @@ -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. */ diff --git a/testsuite/xbt/log_usage.c b/testsuite/xbt/log_usage.c index 3e5813e5ec..4266e9de78 100644 --- a/testsuite/xbt/log_usage.c +++ b/testsuite/xbt/log_usage.c @@ -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. */ diff --git a/tools/gras/stub_generator.c b/tools/gras/stub_generator.c index 5236452aed..5dade2ab08 100644 --- a/tools/gras/stub_generator.c +++ b/tools/gras/stub_generator.c @@ -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. */ diff --git a/tools/tesh/run_context.c b/tools/tesh/run_context.c index ec7dd88f56..c8052d0a68 100644 --- a/tools/tesh/run_context.c +++ b/tools/tesh/run_context.c @@ -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. */ diff --git a/tools/tesh/run_context.h b/tools/tesh/run_context.h index c40d6e5b8f..203472f8b4 100644 --- a/tools/tesh/run_context.h +++ b/tools/tesh/run_context.h @@ -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. */ diff --git a/tools/tesh/signal.c b/tools/tesh/signal.c index a38c91426f..64e9106667 100644 --- a/tools/tesh/signal.c +++ b/tools/tesh/signal.c @@ -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. */ diff --git a/tools/tesh/tesh.c b/tools/tesh/tesh.c index 8bdecbe180..c9da30dfc9 100644 --- a/tools/tesh/tesh.c +++ b/tools/tesh/tesh.c @@ -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. */ diff --git a/tools/tesh/tesh.h b/tools/tesh/tesh.h index 5489b558b3..206493b1e1 100644 --- a/tools/tesh/tesh.h +++ b/tools/tesh/tesh.h @@ -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. */ diff --git a/win32_testsuite/borland/builder6/realistic/gras/datadesc_usage/datadesc_usage.c b/win32_testsuite/borland/builder6/realistic/gras/datadesc_usage/datadesc_usage.c index d9c2103af3..e133fbf80e 100644 --- a/win32_testsuite/borland/builder6/realistic/gras/datadesc_usage/datadesc_usage.c +++ b/win32_testsuite/borland/builder6/realistic/gras/datadesc_usage/datadesc_usage.c @@ -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. */ diff --git a/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.c b/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.c index 384093cf07..571105daa8 100644 --- a/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.c +++ b/win32_testsuite/borland/builder6/simulation/xbt/heap_bench/heap_bench.c @@ -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. */ -- 2.20.1