2009-12-10 Joel Sherrill <joel.sherrill@OARcorp.com>

PR 1482
	* posix/src/ptimer1.c: Exit dispatching critical section.
This commit is contained in:
Joel Sherrill
2009-12-10 22:19:36 +00:00
parent 4f00a35cfc
commit 19aa6d7c81
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2009-12-10 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1482
* posix/src/ptimer1.c: Exit dispatching critical section.
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1441/cpukit

View File

@@ -360,8 +360,10 @@ int timer_settime(
_POSIX_Timer_TSR,
ptimer
);
if ( !activated )
if ( !activated ) {
_Thread_Enable_dispatch();
return 0;
}
/* The timer has been started and is running */
/* return the old ones in "ovalue" */