#1590 closed defect (fixed)

_Thread_Reset_timeslice doesn't reset a timeslice

Reported by: Gedare Bloom Owned by: Joel Sherrill
Priority: normal Milestone: 4.11
Component: score Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

_Thread_Reset_timeslice handles the end of the timeslice processing just before the timeslice is actually reset in _Thread_Tickle_timeslice. The functionality is nearly identical to _Thread_Yield_processor.

The attached patch replaces the call to _Thread_Reset_timeslice with _Thread_Yield_processor. I have not tested the patch.

Attachments (1)

timeslice.diff (1.6 KB) - added by Gedare Bloom on Jun 24, 2010 at 4:51:11 PM.
replaces the call to _Thread_Reset_timeslice with _Thread_Yield_processor in _Thread_Tickle_timeslice.

Download all attachments as: .zip

Change History (3)

Changed on Jun 24, 2010 at 4:51:11 PM by Gedare Bloom

Attachment: timeslice.diff added

replaces the call to _Thread_Reset_timeslice with _Thread_Yield_processor in _Thread_Tickle_timeslice.

comment:1 Changed on Jun 24, 2010 at 8:25:43 PM by Joel Sherrill

Resolution: fixed
Status: newclosed

Patch committed to head. All tests pass.

comment:2 Changed on Nov 24, 2014 at 6:58:28 PM by Gedare Bloom

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

Note: See TracTickets for help on using tickets.