|
From: <pa...@us...> - 2003-08-02 19:37:21
|
Update of /cvsroot/emc/rtapi/examples/semaphore
In directory sc8-pr-cvs1:/tmp/cvs-serv5825/examples/semaphore
Modified Files:
master.c
Log Message:
Fixes to prevent a kernel panic when removing the rtai_sched
Index: master.c
===================================================================
RCS file: /cvsroot/emc/rtapi/examples/semaphore/master.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** master.c 23 Jul 2003 01:22:49 -0000 1.2
--- master.c 2 Aug 2003 19:37:17 -0000 1.3
***************
*** 50,57 ****
/* set the base timer period */
retval = rtapi_clock_set_period(MASTER_PERIOD_NSEC);
- if ( retval != RTAPI_SUCCESS ) {
rtapi_print( "sem master init: rtapi_clock_set_period returned %d\n", retval );
- return -1;
- }
/* set the task priority to one above the lowest; the slave
--- 50,54 ----
|