U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » Set thread priority for linux
Re: Set thread priority for linux [message #36504 is a reply to message #36495] Sun, 03 June 2012 13:15 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
I would like to add this patch, but (Ubuntu 10.04):

/home/cxl/upp.src/uppsrc/Core/Mt.cpp: In member function ‘void Upp::Thread::Priority(int)’:
/home/cxl/upp.src/uppsrc/Core/Mt.cpp:255:12: error: ‘SCHED_IDLE’ was not declared in this scope

...I guess more work is needed to resolve all compatiblity issues.

It has to work with Debian since 5, FreeBSD, MacOSX.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Doubt with timeout in HttpRequest
Next Topic: Http file download question
Goto Forum:
  


Current Time: Mon Sep 14 10:30:32 GMT+2 2026

Total time taken to generate the page: 0.00807 seconds