I have an issue while running my application on openSUSE 11.4 whereas it runs fine on/till 11.3
This application creates threads with different priorities. When running pthread_setschedparam( ) it returns 1, which is apparently EPREM.
Though i run this program with sudo command i.e. sudo <app_name>
I already tried to update my /etc/security/limits.conf file after reading this Post but no joy…
also tried runing application as root user for command line and even logging in to root user account but
This is not compile time error this is run time error. (I think above makes this sense but just to be more clear)
This program was fine till 11.3 now i tried porting it to 11.4 but i dont know if something is broken in 11.4 regarding pthread_setschedparam(), or can anyone tell me how to run this function in 11.4 i presume lot of you guys are already running threaded apps on 11.4
I have this exact same issue, I believe. I can run the program fine (as root) on 11.3 and on 11.4 with the 2.6.39 kernel, but 11.4 with 2.6.37, I get the issue you have. Did you ever resolve it?
On 10/13/2011 07:46 PM, rob g wrote:
>
> I have this exact same issue, I believe. I can run the program fine (as
> root) on 11.3 and on 11.4 with the 2.6.39 kernel, but 11.4 with 2.6.37,
> I get the issue you have. Did you ever resolve it?
i guess there might be better, and more prompt attention were you to
post in the programming/scripting forum, here: http://tinyurl.com/5v695w4
–
DD
openSUSE®, the “German Automobiles” of operating systems
On 10/13/2011 09:06 PM, rob g wrote:
>
> Most recent post there was 4 days ago…not promising.
the speed of the reply is not as important as the worth/accuracy of the
reply…
there are programmers/hackers who hang out in that forum (but not this
one) that you want to respond…
and, they might not come through more than once a week (but never
though here–because they maybe don’t enjoy helping folks who are having
trouble with an application [which they haven’t cracked the doc on])…
some of those hackers might come through here (and there, once a
week)…and, they might see a question here (which is in the wrong
forum) and totally ignore it (as they did since last June when the
unanswered question was posed–maybe because the poster didn’t bother to
read and think about where would be the correct place to ask)…
Do you really need to assign priorities to individual threads or do you just need to set the process priority of the application?
If the latter, search these forums for my posts on using nice and re-nice. Re-nice can re-assign priority of a running process/application, whereas nice allows you to set the priority of the process or application before launching. Note that both of these apps set relative priority, not a fixed priority.