PPL Logo

libs/ck-libs/io/ckio.h File Reference

Go to the source code of this file.

Namespaces

namespace  Ck
namespace  Ck::IO
namespace  Ck::IO::impl

Data Structures

struct  Ck::IO::Options
 Note: The values in options are not currently a stable or working interface. More...
class  Ck::IO::File
class  Ck::IO::FileReadyMsg
class  Ck::IO::Session
class  Ck::IO::SessionReadyMsg

Functions

void Ck::IO::open (std::string name, CkCallback opened, Options opts)
 Open the named file on the selected subset of PEs, and send a FileReadyMsg to the opened callback when the system is ready to accept session requests on that file.
void Ck::IO::startSession (File file, size_t bytes, size_t offset, CkCallback ready, CkCallback complete)
 Prepare to write data into the file described by token, in the window defined by the offset and byte length.
void Ck::IO::startSession (File file, size_t bytes, size_t offset, CkCallback ready, const char *commitData, size_t commitBytes, size_t commitOffset, CkCallback complete)
 Prepare to write data into.
void Ck::IO::write (Session session, const char *data, size_t bytes, size_t offset)
 Write the given data into the file to which session is attached.
void Ck::IO::close (File file, CkCallback closed)
 Close a previously-opened file.


Generated on Mon Sep 21 08:07:30 2020 for Charm++ by  doxygen 1.5.5