00001 #ifndef FUTURELIB_INNARDS_H 00002 #define FUTURELIB_INNARDS_H 00003 00004 #include <pthread.h> 00005 00006 typedef struct location_s location_t; 00007 00008 struct location_s 00009 { 00010 aligned_t vp_count; 00011 pthread_mutex_t vp_count_lock; 00012 unsigned int vp_max; 00013 qthread_shepherd_id_t id; 00014 qthread_shepherd_id_t sched_shep; 00015 }; 00016 00017 void blocking_vp_incr(qthread_t * me, location_t * loc); 00018 00019 #endif