- Expose the Schedulable::set_priority_push() method to python and

outside the backend in general (else, having a 
get_current_priority() method was quite pointless)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1070 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-09-08 20:34:05 +00:00
parent 90ff1f455d
commit 34825da69b
2 changed files with 3 additions and 0 deletions

View File

@ -157,6 +157,7 @@ namespace sgpem {
virtual int get_last_release() const = 0;
virtual int get_base_priority() const = 0;
virtual int get_current_priority() const = 0;
virtual int set_priority_push(int new_value = 0) = 0;
virtual unsigned int get_total_cpu_time() const = 0;
%ignore Schedulable::get_state() const;

View File

@ -69,6 +69,8 @@ namespace sgpem
virtual int get_current_priority() const = 0;
virtual int set_priority_push(int new_value = 0) = 0;
virtual state get_state() const = 0;
virtual void serialize(SerializeVisitor& translator) const = 0;