[RTEMS Project] #2607: timer_getoverrun() implemetation violates POSIX

RTEMS trac trac at rtems.org
Mon Feb 22 16:01:18 UTC 2016


#2607: timer_getoverrun() implemetation violates POSIX
-----------------------------+---------------------
 Reporter:  sebastian.huber  |       Owner:
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:  4.11.1
Component:  General          |     Version:  4.10
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+---------------------

Comment (by joel.sherrill):

 Replying to [comment:2 sebastian.huber]:
 > The ptimer->thread_id might be not equal to executing->Object.id, thus
 the overrun = 0 makes no sense right after the pthread_kill().

 OK. That makes sense. Doesn't really match your initial comment though.

 I am not sure how to tie the resetting of the overrun counter with the
 actual execution of the signal handler. There can be 0-n timers associated
 with a single signal.

--
Ticket URL: <http://devel.rtems.org/ticket/2607#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list