X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ce9cbf0e2aea0198cb08a735a3ad36c6471f5468..5a7f8ddf61c944f976b07092d521b2948f0d9850:/src/bindings/java/JavaContext.hpp diff --git a/src/bindings/java/JavaContext.hpp b/src/bindings/java/JavaContext.hpp index d0d6a4e713..462f9a2711 100644 --- a/src/bindings/java/JavaContext.hpp +++ b/src/bindings/java/JavaContext.hpp @@ -1,6 +1,6 @@ /* Context switching within the JVM. */ -/* Copyright (c) 2009-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2009-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. */ @@ -12,10 +12,10 @@ #include #include "simgrid/simix.h" -#include "src/simix/smx_private.h" +#include "src/simix/smx_private.hpp" #include "xbt/xbt_os_thread.h" -#include "jmsg.h" +#include "jmsg.hpp" namespace simgrid { namespace kernel { @@ -35,7 +35,7 @@ public: xbt_os_sem_t begin = nullptr; // Semaphore used to schedule/unschedule the process: xbt_os_sem_t end = nullptr; -public: + friend class JavaContextFactory; JavaContext(std::function code, void_pfn_smxprocess_t cleanup_func,