Re: New DEVELOPMENT release FOX 1.7.1

View: New views
2 Messages — Rating Filter:   Alert me  

Re: New DEVELOPMENT release FOX 1.7.1

by jasonheb - Skype™ :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> Also, FXThread now supports setting scheduling policy [on
> platforms where that is possible] and a more
> platform-neutral way to change thread
> priorities.

What polic(y/ies) can change priorities? All of them? Do all of the two
or three policies have PriorityMinimum, PriorityMedium, and
PriorityMaximum available for the different operating systems?




------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users

Re: New DEVELOPMENT release FOX 1.7.1

by Jeroen van der Zijp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Monday 22 June 2009, Jason Heblack wrote:
>
> > Also, FXThread now supports setting scheduling policy [on
> > platforms where that is possible] and a more
> > platform-neutral way to change thread
> > priorities.
>
> What polic(y/ies) can change priorities? All of them? Do all of the two
> or three policies have PriorityMinimum, PriorityMedium, and
> PriorityMaximum available for the different operating systems?

The priority determines scheduling between ready-to-run threads in the
operating system.  Whenever two or more threads are ready to have the CPU,
the one with the higher priority gets to run.

The policy determines how threads circulate through the run list.

Note: on Windows the policy() API has no effect.  The priority() API
works on both Unix and Windows.


                - Jeroen




--
+----------------------------------------------------------------------------+
| Copyright (C) 21:40 06/22/2009 Jeroen van der Zijp.   All Rights Reserved. |
+----------------------------------------------------------------------------+

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users