IssueNo:#12345
Description:Scheduling module has signed number and unsigned number comparison. Sig:kernel Feature or Bugfix:Bugfix Binary Source:No Change-Id: Ie6385e5ab779b6b542282198b38c966871b03c8e
This commit is contained in:
parent
c70335c80d
commit
36032f117a
|
@ -63,7 +63,7 @@ extern "C" {
|
|||
#define OS_SCHED_TIME_SLICES_MAX ((LOSCFG_BASE_CORE_TIMESLICE_TIMEOUT * OS_SYS_NS_PER_US) / OS_NS_PER_CYCLE)
|
||||
#define OS_SCHED_TIME_SLICES_DIFF (OS_SCHED_TIME_SLICES_MAX - OS_SCHED_TIME_SLICES_MIN)
|
||||
#define OS_SCHED_READY_MAX 30
|
||||
#define OS_TIME_SLICE_MIN ((50 * OS_SYS_NS_PER_US) / OS_NS_PER_CYCLE) /* 50us */
|
||||
#define OS_TIME_SLICE_MIN (INT32)((50 * OS_SYS_NS_PER_US) / OS_NS_PER_CYCLE) /* 50us */
|
||||
#define OS_SCHED_MAX_RESPONSE_TIME (UINT64)(OS_64BIT_MAX - 1U)
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Reference in New Issue