- Added Policy::wants() and updated related code. Scheduler::get_ready_queue() still always returns a process queue...
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@615 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
e5b90a39ad
commit
1e75fe91f1
9 changed files with 81 additions and 4 deletions
|
@ -38,6 +38,9 @@ namespace std {
|
|||
|
||||
namespace sgpem {
|
||||
|
||||
/** Don't get worried, order is not important! */
|
||||
enum policy_sorts_type { policy_sorts_threads, policy_sorts_processes };
|
||||
|
||||
class Policy {
|
||||
public:
|
||||
virtual ~Policy() = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue