Back to index

lightning-sunbird  0.9+nobinonly
Functions
w16gc.c File Reference
#include "primpl.h"
#include <sys/timeb.h>

Go to the source code of this file.

Functions

PRWord_MD_HomeGCRegisters (PRThread *t, int isCurrent, int *np)

Function Documentation

PRWord* _MD_HomeGCRegisters ( PRThread t,
int  isCurrent,
int np 
)

Definition at line 42 of file w16gc.c.

{
    if (isCurrent) 
    {
        _MD_SAVE_CONTEXT(t);
    }
    /*
    ** In Win16 because the premption is "cooperative" it can never be the 
    ** case that a register holds the sole reference to an object.  It
    ** will always have been pushed onto the stack before the thread
    ** switch...  So don't bother to scan the registers...
    */
    *np = 0;

    return (PRWord *) CONTEXT(t);
}

Here is the caller graph for this function: