Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

palm/palm_locking.c File Reference

Locking routines for zones. More...

#include <PalmOS.h>
#include <StringMgr.h>
#include <globals.h>
#include <locking.h>
#include <mem_compat.h>

Go to the source code of this file.

Data Structures

struct  tag_lockers
 items to be locked/unlocked More...


Functions

void LockZone (lockZone zone)
 lock the zone specified for writing

void ReleaseZone (lockZone zone)
 release the memory allocated to this zone

void UnlockZone (lockZone zone)
 unlock the zone specified. don't write to it anymore


Variables

tag_lockers lockZones [lz_end]
 items to be locked/unlocked


Detailed Description

Locking routines for zones.

Definition in file palm_locking.c.


Function Documentation

void LockZone lockZone    zone
 

lock the zone specified for writing

Parameters:
zone  the zone to lock

Definition at line 24 of file palm_locking.c.

References tag_lockers::destVar, tag_lockers::handle, tag_lockers::lockcount, lockZone, and lockZones.

void ReleaseZone lockZone    zone
 

release the memory allocated to this zone

Parameters:
zone  the zone to release

Definition at line 39 of file palm_locking.c.

References tag_lockers::destVar, tag_lockers::handle, tag_lockers::lockcount, LockZone(), lockZone, and lockZones.

void UnlockZone lockZone    zone
 

unlock the zone specified. don't write to it anymore

Parameters:
zone  the zone to unlock

Definition at line 53 of file palm_locking.c.

References tag_lockers::destVar, tag_lockers::handle, tag_lockers::lockcount, lockZone, and lockZones.


Generated on Mon Aug 30 19:44:17 2004 for pocketcity by doxygen1.2.18