Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
prolock.h File Reference
#include "prtypes.h"
#include "prlock.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PR_CREATE_ORDERED_LOCK(order)   PR_NewLock()
#define PR_DESTROY_ORDERED_LOCK(lock)   PR_DestroyLock((lock))
#define PR_LOCK_ORDERED_LOCK(lock)   PR_Lock((lock))
#define PR_UNLOCK_ORDERED_LOCK(lock)   PR_Unlock((lock))

Functions

 PR_CreateOrderedLock (PRInt32 order, const char *name)
 PR_DestroyOrderedLock (PROrderedLock *lock)
 PR_LockOrderedLock (PROrderedLock *lock)
 PR_UnlockOrderedLock (PROrderedLock *lock)

Variables

PR_BEGIN_EXTERN_C typedef PRLock PROrderedLock

Define Documentation

Definition at line 117 of file prolock.h.

Definition at line 144 of file prolock.h.

Definition at line 172 of file prolock.h.

Definition at line 200 of file prolock.h.


Function Documentation

PR_CreateOrderedLock ( PRInt32  order,
const char *  name 
)

Definition at line 49 of file prolock.c.

{
#ifdef XP_MAC
#pragma unused( order, name )
#endif
    PR_ASSERT(!"Not implemented"); /* Not implemented yet */
    PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
    return NULL;
} /*  end PR_CreateOrderedLock() */

Definition at line 64 of file prolock.c.

{
#ifdef XP_MAC
#pragma unused( lock )
#endif
    PR_ASSERT(!"Not implemented"); /* Not implemented yet */
    PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
} /*  end PR_DestroyOrderedLock() */

Definition at line 77 of file prolock.c.

{
#ifdef XP_MAC
#pragma unused( lock )
#endif
    PR_ASSERT(!"Not implemented"); /* Not implemented yet */
    PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
} /*  end PR_LockOrderedLock() */

Definition at line 90 of file prolock.c.

{
#ifdef XP_MAC
#pragma unused( lock )
#endif
    PR_ASSERT(!"Not implemented"); /* Not implemented yet */
    PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
    return PR_FAILURE;
} /*  end PR_UnlockOrderedLock() */

Variable Documentation

Definition at line 94 of file prolock.h.