|
|
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 p
Length: 736 (0x2e0)
Types: TextFile
Notes: @(#)pid.h 13.2 (RC International) 91/10/09 */
Names: »pid.h«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/include/sys/pid.h«
/* @(#)pid.h 13.2 (RC International) 91/10/09 */
#ifndef _PID_
#define _PID_
/* TX unique within lan process id */
#ifdef MIPSEB
struct procid
{
short p_my_puid; /* creating pu's ID */
short p_localpid; /* local pid */
};
#endif
#ifdef MIPSEL
struct procid
{
short p_localpid; /* local pid */
short p_my_puid; /* creating pu's ID */
};
#endif
/* for encoding/decoding lan pids */
#define PIDTOLPID(pid) (((struct procid *)&(pid))->p_localpid)
#define PIDTOPU(pid) (((struct procid *)&(pid))->p_my_puid)
#define MKPID(pu, lpid) ((u_short)(pu) << 16 | (u_short)(lpid))
#define PGRPTOPU(pgrp) (((struct procid *)&(pgrp))->p_my_puid)
#define MKPGRP(pu, lprgp) ((u_short)(pu) << 16 | (u_short)(lprgp))
#endif _PID_