|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: @ T t
Length: 1413 (0x585)
Types: TextFile
Notes: @(#)trans.h 13.1 (Tolerant) 91/02/02 */
Names: »trans.h«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/include/sys/trans.h«
/* @(#)trans.h 13.1 (Tolerant) 91/02/02 */
/*
* trans.h - defines for trans(2) system call
*/
/*
* trans' return value
*/
struct trans_ret
{
int tr_count :8; /* # of restarts */
int tr_limit :8; /* max number of restarts */
bool_t tr_locks_held :8; /* restarting w/ same timestamp, locks*/
};
/*
* parameters to the trans system call
*/
#define TR_BEGIN 1 /* begin a new transaction */
#define TR_BEGIN_NON_UPDATE 2 /* begin a new non-update transaction */
#define TR_COMMIT 3 /* commit the current transaction */
#define TR_ABORT 4 /* abort the current transaction */
#define TR_DEADLOCK 5 /* abort the current transaction */
#define TR_POINT 6 /* atomic {commit,begin} */
#define TR_POINT_NON_UPDATE 7 /* atomic {commit,begin non-update} */
#define TR_READY 8 /* server tr ready to commit */
#define TR_CHECK 9 /* is the process in tr mode? */
#define TR_DETACH 41 /* server detach from transaction */
/*
* extra parameters for signal
*/
#define TR_LOG_ERR 10 /* disk i/o error */
#define TR_HOSTDOWN 11 /* destination host down */
#define TR_TIMEOUT 12 /* timeout */
#define TR_LOG_FULL 13 /* abort a tran for getting log space */
#define TR_SHUTDOWN 14 /* file system forcibly umounted */
#define TR_CRASH 15 /* aborted due to current sbb crash */
#define TR_JOIN 16 /* multi processes can't join in a tr */
#define TR_KILL 17 /* sigabort generated from kill */