DataMuseum.dk

Presents historical artifacts from the history of:

Commodore CBM-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Commodore CBM-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦84958590c⟧ TextFile

    Length: 425 (0x1a9)
    Types: TextFile
    Notes: UNIX file
    Names: »job.h«

Derivation

└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
    └─⟦2d53db1df⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »hr/hdr/job.h« 

TextFile



#define	me	runq.jq_head
#define	my	me


struct job
{
	struct job	*j_next;
	jmp_buf		j_env;			/* cpu regs */
	uint		j_slength,		/* # words of stack */
			j_smax;			/* max # words of stack */
	int		*j_stack,		/* stack */
			(*j_startf)( );		/* baby j's first function */
	MESSAGE		j_m;
};

struct jqueue
{
	struct job	*jq_head,
			*jq_tail;
};


/*
struct jqueue	runq;
*/
 
extern	struct	jqueue	runq;

struct job	*jstart( );