Hi Yogi, In case you are getting that error it means that it is not supported by you use the one which michael suggested but that can only done during thread creation time not dynamically... these are nothing to do with anriod but it dependent on posix library used in the anriod.
Cheers, Venu On Sun, Jun 7, 2009 at 2:39 PM, Michael Trimarchi < [email protected]> wrote: > > Hi, > > Yogi wrote: > > Hi All, > > > > I want to change the pthread priority which i have created using > > pthread_create() function. > > I tried with pthread_setschedprio() pthread function, but i throws > > linking error as below: > > > > undefined reference to `pthread_setschedprio' > > > pthread_attr_setschedparam > pthread_setschedparam > > The two funtions are implemented. You can see the code in the bionic. I > never used them > but I think that they do the right thing. > > Michael > > Is pthread pthread_setschedprio() function supported on android? > > Can you please suggest how I can resolve this error? > > > > Thanks & Regards, > > Yogesh > > > > > > > > > > > > > > -- - J. Venumadhav --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
