logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

FBB::SharedBlock - Shared memory data block info

Author

       Frank B. Brokken (f.b.brokken@rug.nl).

libbobcat-dev_6.07.01                               2005-2025                          FBB::SharedBlock(3bobcat)

Bobcat

       Bobcat is an acronym of `Brokken’s Own Base Classes And Templates’.

Bobcat Project Files

       o      https://fbb-git.gitlab.io/bobcat/: gitlab project page;

       Debian Bobcat project files:

       o      libbobcat6: debian package containing the shared library, changelog and copyright note;

       o      libbobcat-dev: debian package containing the static library, headers, manual pages, and  developer
              info;

Bugs

       None Reported.

Constructors

       Only the default constructor is available. Copy and move assignment operators are not available.

Description

FBB::SharedBlock  objects  are  used  by  FBB::SharedSegment to access the IDs and shared memory locks of
       shared memory data segments.

Example

       See the sharedstream(3bobcat) man page.

Files

bobcat/sharedblock - defines the class interface

Inherits From

       -

Member Functions

       o      size_tid()const:
              The object’s stored ID value is returned.

       o      voidlock()const:
              When  returning  from  this member, the current process has obtained the FBB::SharedBlock’s shared
              memory mutex lock.

       o      voidsetID(size_tid):
              The object’s stored ID value is set to id.

       o      voidunlock()const:
              The shared memory segment’s mutex lock is released.

Name

       FBB::SharedBlock - Shared memory data block info

Namespace

FBB
       All constructors, members, operators and manipulators, mentioned in this man-page,  are  defined  in  the
       namespace FBB.

See Also

bobcat(7)        isharedstream(3bobcat),        osharedstream(3bobcat),         sharedcondition(3bobcat),
       sharedmemory(3bobcat),       sharedmutex(3bobcat),       sharedpos(3bobcat),       sharedreadme(7bobcat),
       sharedsegment(3bobcat), sharedstream(3bobcat), sharedbuf(3bobcat)

Synopsis

#include<bobcat/sharedblock>
       Linking option: -lpthread,-lbobcat

See Also