HELP! * GREY=local LOCAL HTML version of Foils prepared July 6,1995

Foil 26 TCE -- Implementation -- 5: Priority

From Master Foils for Threads with TCE in detail CPS600 Spring Semester95 -- April 1995. by Janusz Niemiec and Geoffrey Fox * Important Information in IMAGE

A newly created thread inherits its parent priority. It can be changed any time by calling tce_thrd_priority with a new priority for a given thread:
void main(int argc, char *argv[])
{
  • TCE_Thrd *thrd;
  • int prm = 0;
  • ....
  • thrd = tce_thrd_init(func,&prm);
  • tce_thrd_priority(thrd,31);
}
The first thread gets priority 0.



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Feb 18 1997