diff example/renew_task/spe/Renew4.cc @ 310:c59d8927c4d1

remove smanager
author e065746@localhost.localdomain
date Mon, 08 Jun 2009 20:31:29 +0900
parents 58fd16298954
children b89ba1d96fff
line wrap: on
line diff
--- a/example/renew_task/spe/Renew4.cc	Mon Jun 08 19:40:27 2009 +0900
+++ b/example/renew_task/spe/Renew4.cc	Mon Jun 08 20:31:29 2009 +0900
@@ -9,7 +9,7 @@
 int
 Renew4::run(void *rbuf, void *wbuf)
 {
-    SpeProfile *profile = (SpeProfile*)smanager->global_get(0);
+    SpeProfile *profile = (SpeProfile*) global_get(0);
     profile->ProfStop();
     profile->ProfPrint();
 
@@ -17,7 +17,7 @@
     
     printf("[SPE] ** finish  Renew4\n");
 
-    smanager->global_free(0);
+    global_free(0);
 
     return 0;
 }