|
From: <jmk...@us...> - 2003-08-14 04:23:56
|
Update of /cvsroot/emc/rtapi/examples/timertask
In directory sc8-pr-cvs1:/tmp/cvs-serv13345/examples/timertask
Modified Files:
timertask.c
Log Message:
Converted shared memory and semaphores from handles to IDs. Added more /proc entries. Examples work under RTAI. Still need to convert fifos.
Index: timertask.c
===================================================================
RCS file: /cvsroot/emc/rtapi/examples/timertask/timertask.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** timertask.c 13 Aug 2003 05:55:07 -0000 1.10
--- timertask.c 14 Aug 2003 04:08:26 -0000 1.11
***************
*** 89,98 ****
/* Remove the task from the list */
! /* TESTING - intentionally skip the task_delete
retval = rtapi_task_delete(timer_task);
if ( retval != RTAPI_SUCCESS ) {
rtapi_print("timertask exit: rtapi_task_delete returned %d\n", retval );
return;
! }*/
/* Print the final count just to show that the task did it's job */
--- 89,98 ----
/* Remove the task from the list */
! /* TESTING - intentionally skip the task_delete */
retval = rtapi_task_delete(timer_task);
if ( retval != RTAPI_SUCCESS ) {
rtapi_print("timertask exit: rtapi_task_delete returned %d\n", retval );
return;
! }
/* Print the final count just to show that the task did it's job */
|