sc::ProcFileGrp(3)
π¦ sc::ProcFileGrp(3) β MPQC π¦
β¨ NAME β¨
Okay so sc::ProcFileGrp is the concrete class that provides an implementation of FileGrp for a single processor. That's the whole name situation, bestie. π
πΈ SYNOPSIS πΈ
#include <fileproc.h>
Inherits sc::FileGrp.
π Public Member Functions π
ProcFileGrp (const Ref< KeyVal > &)β the constructor, taking aconst Ref< KeyVal > &. No extra description here. πProcFileGrp * clone ()β clones the givenFileGrp. The newFileGrpmay need to be initialized additionally. Slay, but remember the extra init. β¨void set_localsize (size_t)β set the size of locally held data.void * localdata ()β listed with no extra description on this page.void * obtain_readwrite (distsize_t offset, int size)β only one thread can have an unreleasedobtain_readwriteat a time. πvoid * obtain_readonly (distsize_t offset, int size)β this gives read access to the file location. No locking is done.void * obtain_writeonly (distsize_t offset, int size)β this gives write access to the data location. No locking is done.void release_readonly (void *data, distsize_t offset, int size)β this is called when read access is no longer needed.void release_writeonly (void *data, distsize_t offset, int size)β this is called when write access is no longer needed.void release_readwrite (void *data, distsize_t offset, int size)β this is called when read/write access is no longer needed.void sync ()β synchronizes all the nodes.
π Additional Inherited Members π
The page has this heading, and then no extra items are listed under it. So there's nothing else to spill here. π
π DETAILED DESCRIPTION π
The ProcFileGrp concrete class provides an implementation of FileGrp for a single processor. That's the detailed description, and it ate. π
β¨
π₯ MEMBER FUNCTION DOCUMENTATION π₯
πΈ void* sc::ProcFileGrp::obtain_readwrite (distsize_t offset, int size)
[virtual] β bestie, only one thread can have an unreleased obtain_readwrite at a time. The actual file region locked can be larger than that requested. If the file region is already locked, this will block. For this reason, data should be held as read/write for as short a time as possible. Implements sc::FileGrp. π
π void sc::ProcFileGrp::release_readwrite (void * data, distsize_t offset, int size)
[virtual] β this is called when read/write access is no longer needed. The data will be unlocked. Implements sc::FileGrp. π
β¨ void sc::ProcFileGrp::set_localsize (size_t)
[virtual] β set the size of locally held data. When data is accessed using a global offset, counting starts at node 0 and proceeds up to node n() - 1. Implements sc::FileGrp. π§
π¦ void sc::ProcFileGrp::sync ()
[virtual] β synchronizes all the nodes. Consider using this when the way you access data changes. Implements sc::FileGrp. π«
π AUTHOR π
The author line literally says:
Generated automatically by Doxygen for MPQC from the source code.
Bye bestie! This was sc::ProcFileGrp(3) from MPQC β version 2.3.1, dated Sun Oct 4 2020. Mwah, stay iconic. πβ¨π¦
π¦ where this page comes from
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms