X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dfc3b7c81f7e4fec5c8da96745042766dc0da27f..65beede857f93e33c96e544f76b93793c973dc10:/include/simgrid/simix/blocking_simcall.hpp?ds=sidebyside diff --git a/include/simgrid/simix/blocking_simcall.hpp b/include/simgrid/simix/blocking_simcall.hpp index d2c87daeec..0a927ce6eb 100644 --- a/include/simgrid/simix/blocking_simcall.hpp +++ b/include/simgrid/simix/blocking_simcall.hpp @@ -1,5 +1,4 @@ -/* Copyright (c) 2016-2018. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2016-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -33,7 +32,7 @@ XBT_PUBLIC void unblock(smx_actor_t process); * returns a `simgrid::kernel::Future`. The kernel blocks the actor * until the Future is ready and: * - * - either returns the value wrapped in the future to the actor; + * - either returns the value wrapped in the future to the actor * * - or raises the exception stored in the future in the actor. * @@ -70,11 +69,6 @@ template auto kernel_sync(F code) -> decltype(code().get()) }); return result.get(); } -template -XBT_ATTRIB_DEPRECATED_v323("Please use simix::kernel_sync()") auto kernelSync(F code) -> decltype(code().get()) -{ - return kernel_sync(code); -} /** A blocking (`wait()`-based) future for SIMIX processes */ // TODO, .wait_for() @@ -160,11 +154,6 @@ template auto kernel_async(F code) -> Future // Wrap the kernel future in a actor future: return simgrid::simix::Future(std::move(future)); } -template -XBT_ATTRIB_DEPRECATED_v323("Please use simix::kernel_sync()") auto kernelAsync(F code) -> Future -{ - return kernel_async(code); -} } }