Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ost_sharedmempager(3) [debian man page]

ost::SharedMemPager(3)					     Library Functions Manual					    ost::SharedMemPager(3)

NAME
ost::SharedMemPager - The shared mempager uses a mutex to protect key access methods. SYNOPSIS
#include <misc.h> Inherits ost::MemPager, and ost::Mutex. Protected Member Functions SharedMemPager (size_t pagesize=4096, const char *name=NULL) Create a mempager mutex pool. void purge (void) Purge the memory pool while locked. void * first (size_t size) Get the first memory page after locking. void * alloc (size_t size) Get the last memory page after locking. Additional Inherited Members Detailed Description The shared mempager uses a mutex to protect key access methods. This class is used when a mempager will be shared by multiple threads. Author: David Sugar dyfet@ostel.com mutex protected memory pager. Constructor &; Destructor Documentation ost::SharedMemPager::SharedMemPager (size_tpagesize = 4096, const char *name = NULL) [protected] Create a mempager mutex pool. Parameters: pagesize page size for allocation. name a name for the pool. Member Function Documentation void* ost::SharedMemPager::alloc (size_tsize) [protected], [virtual] Get the last memory page after locking. Returns: allocated memory space. Parameters: size of request. Reimplemented from ost::MemPager. void* ost::SharedMemPager::first (size_tsize) [protected], [virtual] Get the first memory page after locking. Returns: allocated memory space. Parameters: size of request. Reimplemented from ost::MemPager. void ost::SharedMemPager::purge (void) [protected] Purge the memory pool while locked. Reimplemented from ost::MemPager. Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::SharedMemPager(3)

Check Out this Related Man Page

ost::MD5Digest(3)					     Library Functions Manual						 ost::MD5Digest(3)

NAME
ost::MD5Digest - A md5 collection/computation accululator class. SYNOPSIS
#include <digest.h> Inherits ost::Digest. Public Member Functions MD5Digest () void initDigest (void) unsigned getSize (void) unsigned getDigest (unsigned char *buffer) void putDigest (const unsigned char *buffer, unsigned len) Protected Member Functions int overflow (int c) void update (void) void commit (void) std::ostream & strDigest (std::ostream &os) Detailed Description A md5 collection/computation accululator class. Author: David Sugar dyfet@ostel.com md5 hash accumulation. Examples: digest.cpp. Constructor &; Destructor Documentation ost::MD5Digest::MD5Digest () Member Function Documentation void ost::MD5Digest::commit (void) [protected] unsigned ost::MD5Digest::getDigest (unsigned char *buffer) [virtual] Implements ost::Digest. unsigned ost::MD5Digest::getSize (void) [inline], [virtual] Implements ost::Digest. void ost::MD5Digest::initDigest (void) [virtual] Implements ost::Digest. int ost::MD5Digest::overflow (intc) [protected] void ost::MD5Digest::putDigest (const unsigned char *buffer, unsignedlen) [virtual] Implements ost::Digest. std::ostream& ost::MD5Digest::strDigest (std::ostream &os) [protected], [virtual] Implements ost::Digest. void ost::MD5Digest::update (void) [protected] Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::MD5Digest(3)
Man Page

5 More Discussions You Might Find Interesting

1. Red Hat

find help with directory purge.

Hi, I have a purge directory called /b02/purge which has backed up directories like this drwxrwxr-x 17 root root 4096 Jan 5 15:33 purge1 drwxrwxr-x 17 root root 4096 Jan 5 16:21 purge.new1 drwxrwxr-x 15 root root 4096 Jan 5 16:21 purge.new2 drwxrwxr-x 17 root root 4096 Jan 12... (3 Replies)
Discussion started by: uxadmin007
3 Replies

2. Programming

Create a database in C

Hey, I have this basic server thing going on and I can't seem to allocate memory correctly and I can't access the memory after I allocated it. I was hoping people might suggest methods of doing this. I was thinking of using the socket file descriptor to reference the users. (14 Replies)
Discussion started by: Errigour
14 Replies

3. Shell Programming and Scripting

How to make delimited record ????

Can anyone suggest how to make delimited data for below report format Member Nbr Member Name Date Date Number Miles Rejected Reason Purge 1000000000 BROWNS N/B 10121998 01121998 377393930 500 INVALID CUSTOMER NUM issue is that my column name, data and between column i have variable... (7 Replies)
Discussion started by: ns64110
7 Replies

4. Programming

C++ singleton

How to write a class that can only be instancialized once? what about my implementation below? #include<iostream> #include<stdexcept> using namespace std; class Singleton { public: int b; Singleton(); private: static int num; }; int Singleton::num = 1; (10 Replies)
Discussion started by: vistastar
10 Replies

5. Shell Programming and Scripting

Finding difference in between two array's of strings

Hi, Can anybody help me in finding the difference between two array elements with the help of code pls. purge=("Purge Concurrent Request and/or Manager Data" "Purge Signon Audit data" "Purge Obsolete Workflow Runtime Data" "Purge Logs and Closed System Alerts") purge_1=("Purge Obsolete... (3 Replies)
Discussion started by: Y.balakrishna
3 Replies