Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
rcthread.cpp File Reference
#include "rcthread.h"
#include "rcinrval.h"
#include <prmem.h>
#include <prlog.h>
#include <stdio.h>
#include <prinit.h>

Go to the source code of this file.


void nas_Root (void *arg)
static void _rc_PDDestructor (RCThreadPrivateData *privateData)


static RCPrimordialThread * primordial = NULL
static PRThreadPrivateDTOR _tpd_dtor = (PRThreadPrivateDTOR)_rc_PDDestructor

Function Documentation

static void _rc_PDDestructor ( RCThreadPrivateData *  privateData) [static]

Definition at line 146 of file rcthread.cpp.

    PR_ASSERT(NULL != privateData);
void nas_Root ( void arg)

Definition at line 50 of file rcthread.cpp.

    RCThread *him = (RCThread*)arg;
    while (RCThread::ex_unstarted == him->execution)
        (void)PR_Sleep(PR_INTERVAL_NO_TIMEOUT);  /* wait for Start() */
    him->RootFunction();  /* he gets a self reference */
    if (PR_UNJOINABLE_THREAD == PR_GetThreadState(him->identity))
        delete him;
}  /* nas_Root */

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

Definition at line 152 of file rcthread.cpp.

RCPrimordialThread* primordial = NULL [static]

Definition at line 48 of file rcthread.cpp.