openblt

a hobby OS from the late 90s
git clone http://frotz.net/git/openblt.git
Log | Files | Refs | LICENSE

team.h (509B)


      1 /* Copyright 1998-1999, Brian J. Swetland. All rights reserved.
      2 ** Distributed under the terms of the OpenBLT License
      3 */
      4 
      5 #ifndef _TEAM_H
      6 #define _TEAM_H
      7 
      8 #include "resource.h"
      9 
     10 struct __team_t {
     11 	resource_t rsrc;
     12 	
     13 	list_t resources;	   /* all resources owned by the team */
     14 	int refcount;          /* number of attached tasks */
     15 
     16     aspace_t *aspace;     /* address space which it all exists in */
     17 	
     18 	int heap_id;
     19     int text_area;	
     20 };
     21 
     22 team_t *team_create(void);
     23 void team_destroy(team_t *team);
     24 
     25 #endif