Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Implement I/O as asynchronous activities
[simgrid.git] / src / simix / smx_io_private.hpp
1 /* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef SIMIX_IO_PRIVATE_HPP
7 #define SIMIX_IO_PRIVATE_HPP
8
9 #include <xbt/base.h>
10
11 #include "popping_private.hpp"
12 #include "simgrid/simix.h"
13 XBT_PRIVATE simgrid::kernel::activity::IoImplPtr SIMIX_io_start(std::string name, sg_size_t size, sg_storage_t storage);
14 XBT_PRIVATE smx_activity_t SIMIX_storage_read(surf_storage_t fd, sg_size_t size);
15 XBT_PRIVATE smx_activity_t SIMIX_storage_write(surf_storage_t fd, sg_size_t size);
16
17 XBT_PRIVATE void SIMIX_io_destroy(smx_activity_t synchro);
18 XBT_PRIVATE void SIMIX_io_finish(smx_activity_t synchro);
19
20 #endif