-
Notifications
You must be signed in to change notification settings - Fork 729
!sched: drop CONFIG_SYSTEM_TIME64 / CONFIG_HAVE_LONG_LONG / CONFIG_LIBC_LONG_LONG and sclock_t #3468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
!sched: drop CONFIG_SYSTEM_TIME64 / CONFIG_HAVE_LONG_LONG / CONFIG_LIBC_LONG_LONG and sclock_t #3468
Changes from all commits
c54d83b
dd31590
ab79600
18c4678
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -204,11 +204,7 @@ | |
| * signal indicating a change in network status. | ||
| */ | ||
|
|
||
| #ifdef CONFIG_SYSTEM_TIME64 | ||
| # define LONG_TIME_SEC (60*60) /* One hour in seconds */ | ||
| #else | ||
| # define LONG_TIME_SEC (5*60) /* Five minutes in seconds */ | ||
| #endif | ||
| #define LONG_TIME_SEC (60*60) /* One hour in seconds */ | ||
|
|
||
| #define SHORT_TIME_SEC (2) /* 2 seconds */ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ...and if we change LONG_TIME_SEC to ONE_HOUR_SEC, then SHORT_TIME_SEC should become something like TWO_SEC?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems like a good suggestion long time and short time are "relative" and doesn't mean anything until you know the right value |
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose it would make more sense to call this ONE_HOUR_SEC, but that's a job for another PR :-)