#define		MAXGTIDS 	256	/* maximum number tids in a group */
#define		MAXNGROUPS 	64	/* maximum number of different groups */

struct group_struct {
	char *name;	/* the name of the group */
        int len;        /* length of the group name */
	int  ntids;				/* number of tids */
	int  tids[MAXGTIDS];	/* array of the tids */
	int barrier_count, 		/* count for the current barrier */
		barrier_reached;	/* number of procs reaching barrier */
	int  btids[MAXGTIDS];	/* array of the tids that have reached barrier */
	};

