X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/be4186e3689b74b38253d5425cbd6d08b2854a2b..4de80f4c77cc917da64c3d57c5a175c2acedb96a:/src/simix/ActorImpl.cpp diff --git a/src/simix/ActorImpl.cpp b/src/simix/ActorImpl.cpp index a1982608a4..e546a66baa 100644 --- a/src/simix/ActorImpl.cpp +++ b/src/simix/ActorImpl.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -649,14 +649,6 @@ const char* SIMIX_process_self_get_name() { return process->name.c_str(); } -smx_actor_t SIMIX_process_get_by_name(const char* name) -{ - for (auto const& kv : simix_global->process_list) - if (kv.second->name == name) - return kv.second; - return nullptr; -} - void simcall_HANDLER_process_join(smx_simcall_t simcall, smx_actor_t process, double timeout) { if (process->finished) { @@ -762,13 +754,6 @@ void SIMIX_process_yield(smx_actor_t self) } } -/* callback: termination */ -void SIMIX_process_exception_terminate(xbt_ex_t * e) -{ - xbt_ex_display(e); - xbt_abort(); -} - /** @brief Returns the list of processes to run. */ const std::vector& simgrid::simix::process_get_runnable() {