Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

ven49.c File Reference


Detailed Description

RunTime: interlock 4fold.

Author:
JoergM
See also:
The lock algorithm works on an integer variable. For both sides, application and kernel, a single byte indicates that the respective process has the segment locked; if both bytes are zero, the segment is free. It is an error if any side finds its byte already set on entry. In the kernel case, this indicates illegal reuse of the segment; in the application case, it indiates late access by a previous user.

Definition in file ven49.c.

#include "gen49.h"
#include "geo60.h"

Go to the source code of this file.

Defines

#define MF__   MOD__"e49_unlock_int4_4fold"
#define MF__   MOD__"e49_lock_int4_4fold"
#define MOD__   "ven49.c:"

Functions

externC int e49_lock_int4_4fold (UINT4 *addr, int part)
externC void e49_unlock_int4_4fold (UINT4 *addr, int part)
unsigned sleep ()


Generated by  Doxygen 1.6.0   Back to index