scheduler: SCHEDULER_EXIT_FUNCTION() is not needed
This commit is contained in:
@@ -585,8 +585,6 @@ reschedule(int32 nextState)
|
|||||||
|
|
||||||
modeLocker.Unlock();
|
modeLocker.Unlock();
|
||||||
|
|
||||||
SCHEDULER_EXIT_FUNCTION();
|
|
||||||
|
|
||||||
if (nextThread != oldThread)
|
if (nextThread != oldThread)
|
||||||
switch_thread(oldThread, nextThread);
|
switch_thread(oldThread, nextThread);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,9 +16,6 @@
|
|||||||
#define SCHEDULER_ENTER_FUNCTION() \
|
#define SCHEDULER_ENTER_FUNCTION() \
|
||||||
Scheduler::Profiling::Function schedulerProfiler(__PRETTY_FUNCTION__)
|
Scheduler::Profiling::Function schedulerProfiler(__PRETTY_FUNCTION__)
|
||||||
|
|
||||||
#define SCHEDULER_EXIT_FUNCTION() \
|
|
||||||
schedulerProfiler.Exit()
|
|
||||||
|
|
||||||
|
|
||||||
namespace Scheduler {
|
namespace Scheduler {
|
||||||
|
|
||||||
@@ -127,7 +124,6 @@ Function::Exit()
|
|||||||
#else // SCHEDULER_PROFILING
|
#else // SCHEDULER_PROFILING
|
||||||
|
|
||||||
#define SCHEDULER_ENTER_FUNCTION() (void)0
|
#define SCHEDULER_ENTER_FUNCTION() (void)0
|
||||||
#define SCHEDULER_EXIT_FUNCTION() (void)0
|
|
||||||
|
|
||||||
#endif // !SCHEDULER_PROFILING
|
#endif // !SCHEDULER_PROFILING
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user