Category : Alternate Operating Systems - Quarterdeck DesqView, CP/M, etc
Archive   : PCCAPP.ZIP
Filename : PROCESSC.H

 
Output of file : PROCESSC.H contained in archive : PCCAPP.ZIP
/*
* This file is part of the Choices Operating System
* Developed by: The TAPESTRY Parallel Computing Laboratory
* University of Illinois at Urbana-Champaign
* Department of Computer Science
* 1304 W. Springfield Ave.
* Urbana, IL 61801
*
* Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992
* The University of Illinois Board of Trustees.
* All Rights Reserved.
*
* Author: Vincent F. Russo ([email protected])
* Contributing Author: Lee Lup Yuen ([email protected])
* Project Manager and Principal Investigator: Roy Campbell ([email protected])
*
* Funded by: NSF TAPESTRY Grant No. 1-5-30035, NASA ICLASS Grant
* No. 1-5-25469 and No. NSG1471 and AT&T Metronet Grant No. 1-5-37411.
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for educational, research, and non-profit purposes
* is hereby granted provided that the above copyright notice, the
* original authors names, and this permission notice appear in all such
* copies and supporting documentation; that no charge be made for such
* copies; and that the name of the University of Illinois not be used
* in advertising or publicity pertaining to distribution of the
* software without specific prior written permission. Any entity
* desiring permission to incorporate this software into commercial
* products should contact the Computing Research Laboratory, Department
* of Computer Science, University of Illinois, 1304 W. Springfield
* Avenue, Urbana, IL 61801. The University of Illinois makes no
* representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied warranty.
*/
/*
* ProcessContainer.h: description of the class to hold Processes.
*
*/

#ifndef ProcessContainer_h
#define ProcessContainer_h
#ifdef __GNUG__
#pragma once
#pragma interface
#endif

#include "Object.h"

class Process;


extern ClassStar ProcessContainerClass;
class ProcessContainer : public Object {
/* A ProcessContainer is an object that holds processes. Its subclasses
* are process schedulers; they define the methods so that processes are
* added to and removed from the container according to specific policies.
* This is an abstract base class.
*/
public:
/* Method add: Add the process to the container. */
virtual void add( Process * ) = 0;
/* Method remove: Remove and return a process from the container.
* Return 0 if there are no processes in the container.
*/
virtual Process * remove() = 0;
/* Method isEmpty: Return true if the container is empty. */
virtual int isEmpty() = 0;
/* Method classOf: Return the class of the object. */
Class * classOf();
};


extern ClassStar NullProcessContainerClass;
class NullProcessContainer : public ProcessContainer {
/*
* Kind of like the /dev/null of ProcessContainers. All adds just throw
* the process on the floor and all removes return empty.
*/
public:
/* Method add: No nothing. */
void add( Process * );
/* Method remove: Return 0. */
Process * remove();
/* Method isEmpty: Return true. */
int isEmpty();
/* Method classOf: Return the class of the object. */
Class * classOf();
};

#endif /* ProcessContainer_h */
/*
* This file is part of the Choices Operating System
* Developed by: The TAPESTRY Parallel Computing Laboratory
* University of Illinois at Urbana-Champaign
* Department of Computer Science
* 1304 W. Springfield Ave.
* Urbana, IL 61801
*
* Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992
* The University of Illinois Board of Trustees.
* All Rights Reserved.
*
* Author: Systems Research Group ([email protected])
* Project Manager and Principal Investigator: Roy Campbell ([email protected])
*
* Funded by: NSF TAPESTRY Grant No. 1-5-30035, NASA ICLASS Grant
* No. 1-5-25469 and No. NSG1471 and AT&T Metronet Grant No. 1-5-37411.
*
* Permission to use, copy, modify, and distribute this software and
* its documentation for educational, research, and non-profit purposes
* is hereby granted provided that the above copyright notice, the
* original authors names, and this permission notice appear in all such
* copies and supporting documentation; that no charge be made for such
* copies; and that the name of the University of Illinois not be used
* in advertising or publicity pertaining to distribution of the
* software without specific prior written permission. Any entity
* desiring permission to incorporate this software into commercial
* products should contact the Computing Research Laboratory, Department
* of Computer Science, University of Illinois, 1304 W. Springfield
* Avenue, Urbana, IL 61801. The University of Illinois makes no
* representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied warranty.
*/
/* This file was generated by Proxify++ version 0.1 */

#ifndef ProcessContainer_h
#define ProcessContainer_h
#ifdef __GNUG__
#pragma once
#pragma interface
#endif
#include "Object.h"
class Process;
extern ClassStar ProcessContainerClass;
class ProcessContainer;
extern ClassStar NullProcessContainerClass;
class NullProcessContainer;
#endif ProcessContainer_h


  3 Responses to “Category : Alternate Operating Systems - Quarterdeck DesqView, CP/M, etc
Archive   : PCCAPP.ZIP
Filename : PROCESSC.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/