Changeset 8699a70 in rtems for c/src/exec/posix/src/sched.c


Ignore:
Timestamp:
08/09/96 18:45:10 (28 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
f643e230
Parents:
695dd0b
Message:

sched_yield: was not invoking the dispatcher.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/sched.c

    r695dd0b r8699a70  
    143143int sched_yield( void )
    144144{
    145   _Thread_Yield_processor();
     145  _Thread_Disable_dispatch();
     146    _Thread_Yield_processor();
     147  _Thread_Enable_dispatch();
    146148  return 0;
    147149}
Note: See TracChangeset for help on using the changeset viewer.