/*
 * Copyright (C) 2000 TimeSys Corporation
 *
 * This is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
 */
/* thread.h */

//globals

#ifndef THREAD_H
#define  THREAD_H
#define MAXTH 3

int  oldxp[3], xp[3], yp[3], doit, stopit, running, cease;
int end_it_all, race_over, winner;
long long era, RKera[3];
float cpu_amt[3];
long long milla;
long long period;
long long reservation;

void create_threads();
void destroy_threads();
void change_cpu_sets(int i, int jump);
#endif
