TODO and VERSION updates
This commit is contained in:
parent
8814bc977e
commit
05e7bb42c4
2 changed files with 1 additions and 39 deletions
38
TODO
38
TODO
|
@ -175,44 +175,6 @@ Aborted
|
|||
* go through checklist, disable headset and chatpad support for now,
|
||||
do a source only release
|
||||
|
||||
|
||||
Stuff
|
||||
=====
|
||||
|
||||
* realtime pirority currently disabled
|
||||
|
||||
if (opts.priority == Options::kPriorityRealtime)
|
||||
{
|
||||
// try to set realtime priority when root, as user there doesn't
|
||||
// seem to be a way to increase the priority
|
||||
if (geteuid() != 0)
|
||||
{
|
||||
log_error("realtime priority scheduling requires running as root");
|
||||
}
|
||||
else
|
||||
{
|
||||
log_info("enabling realtime priority scheduling");
|
||||
pthread_t tid = static_cast<pthread_t>(m_thread->native_handle());
|
||||
|
||||
int ret;
|
||||
int policy;
|
||||
struct sched_param param;
|
||||
memset(¶m, 0, sizeof(struct sched_param));
|
||||
|
||||
policy = SCHED_RR;
|
||||
param.sched_priority = sched_get_priority_max(policy);
|
||||
|
||||
// we don't try SCHED_OTHER for users as min and max priority is
|
||||
// 0 for that, thus we can't change anything with that
|
||||
|
||||
if ((ret = pthread_setschedparam(tid, policy, ¶m)) != 0)
|
||||
{
|
||||
log_error("pthread_setschedparam() failed: " << ret);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Stuff to do before 0.8.x release:
|
||||
=================================
|
||||
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
0.8.0
|
||||
0.8.1
|
Loading…
Reference in a new issue