Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Member Functions
Shared Struct Reference
Inheritance diagram for Shared:
Inheritance graph
[legend]
Collaboration diagram for Shared:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Shared (RCThread::Scope scope, Home *link, RCLock *ml)

Public Attributes

const char * title
PRLocklist_lock
PRWaitGroupgroup
PRIntervalTime timeout
PRLockml
PRCondVarcv
PRBool twiddle
PRThreadthread
struct Sharednext
PRUint32 sampled
PRUint32 threads
PRIntervalTime timein
PRNetAddr server_address
PRBool passed
PRBool random
PRFileDescdebug
PRFileDesclistenSock
Status status
PRBool failed
PRBool intermittant
PRIntn debug
PRInt32 messages
PRIntervalTime dally
PRInt32 message_length
PRNetAddr serverAddress

Private Member Functions

 ~Shared ()
void RootFunction ()

Detailed Description

Definition at line 84 of file switch.cpp.


Constructor & Destructor Documentation

Shared::Shared ( RCThread::Scope  scope,
Home link,
RCLock *  ml 
)

Definition at line 94 of file switch.cpp.

                                                           :
    Home(link, lock), RCThread(scope, RCThread::joinable) { }
Shared::~Shared ( ) [private]

Definition at line 97 of file switch.cpp.

{ }

Member Function Documentation

void Shared::RootFunction ( ) [private]

Definition at line 99 of file switch.cpp.

{
    PRStatus status = PR_SUCCESS;
    while (PR_SUCCESS == status)
    {
        RCEnter entry(ml);
        while (twiddle && (PR_SUCCESS == status)) status = Wait();
              if (verbosity) PR_fprintf(debug_out, "+");
        twiddle = PR_TRUE;
        next->twiddle = PR_FALSE;
        next->Notify();
    }
}  /* Shared::RootFunction */

Member Data Documentation

Definition at line 74 of file switch.c.

Definition at line 98 of file tmocon.c.

Definition at line 65 of file tmoacc.c.

PRIntn Shared::debug

Definition at line 96 of file tmocon.c.

Definition at line 94 of file tmocon.c.

Definition at line 61 of file multiwait.c.

Definition at line 95 of file tmocon.c.

Definition at line 60 of file multiwait.c.

Definition at line 67 of file tmoacc.c.

Definition at line 100 of file tmocon.c.

Definition at line 97 of file tmocon.c.

Reimplemented from Home.

Definition at line 73 of file switch.c.

Reimplemented from Home.

Definition at line 77 of file switch.c.

Definition at line 63 of file tmoacc.c.

Definition at line 64 of file tmoacc.c.

Definition at line 80 of file thruput.c.

Definition at line 83 of file thruput.c.

Definition at line 101 of file tmocon.c.

Definition at line 68 of file tmoacc.c.

Definition at line 76 of file switch.c.

Definition at line 81 of file thruput.c.

Definition at line 82 of file thruput.c.

Definition at line 62 of file multiwait.c.

Definition at line 59 of file multiwait.c.

Reimplemented from Home.

Definition at line 75 of file switch.c.


The documentation for this struct was generated from the following files: