[MPlayer-dev-eng] [PATCH] '-priority' support on OS/2

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Feb 4 17:14:48 CET 2009


On Thu, Feb 05, 2009 at 01:04:30AM +0900, KO Myung-Hun wrote:
> +#define _UWIN 1  /*disable Non-underscored versions of non-ANSI functions as otherwise int eof would conflict with eof()*/

Huh? Which "int eof"?

> +    if(init_timer_res)
> +        // request 1ms timer resolution
> +        timeBeginPeriod(1);

This has nothing to do with process priority (even though it is somewhat
related to the scheduler) and thus does not belong here.

> +void uninit_priority(int uninit_timer_res)
> +{
> +    if(uninit_timer_res)
> +        timeEndPeriod(1);
> +}

as a consequence, uninit_priority is not needed, and e.g. set_priority would
seem like a more appropriate name.



More information about the MPlayer-dev-eng mailing list