Mercurial > hg > Members > kono > Cerium
comparison example/renew_task/ppe/Renew3.cc @ 310:c59d8927c4d1
remove smanager
author | e065746@localhost.localdomain |
---|---|
date | Mon, 08 Jun 2009 20:31:29 +0900 |
parents | 58fd16298954 |
children | b89ba1d96fff |
comparison
equal
deleted
inserted
replaced
309:8ec2f3e61ee1 | 310:c59d8927c4d1 |
---|---|
9 Renew3::run(void *rbuf, void *wbuf) | 9 Renew3::run(void *rbuf, void *wbuf) |
10 { | 10 { |
11 printf("[PPE] ** running Renew3\n"); | 11 printf("[PPE] ** running Renew3\n"); |
12 | 12 |
13 printf("[PPE] Create Task : Renew4\n"); | 13 printf("[PPE] Create Task : Renew4\n"); |
14 TaskPtr nextTask = smanager->create_task(RENEW4); | 14 TaskPtr nextTask = create_task(RENEW4); |
15 smanager->wait_task(nextTask); | 15 wait_task(nextTask); |
16 | 16 |
17 printf("[PPE] ** finish Renew3\n"); | 17 printf("[PPE] ** finish Renew3\n"); |
18 printf("\n"); | 18 printf("\n"); |
19 | 19 |
20 return 0; | 20 return 0; |