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

Foil 23 TCE -- Implementation -- 2: tce_thrd_init

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

As a result the space for the thread's stack and descriptor is allocated. tce_thrd_init returns a pointer to that descriptor
void func(int i)
{
....
}
....
void main(int argc, char *argv[])
{
  • TCE_Thrd *thrd;
  • int prm = 0;
  • ....
  • thrd = tce_thrd_init(func,&prm);
}



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