diff options
author | Neal H. Walfield <neal@gnu.org> | 2009-01-20 04:03:53 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2009-01-20 04:51:05 +0100 |
commit | f983e5197159c06b1277aa32d522ca397c48c660 (patch) | |
tree | 84d5ff77d05206ad9ab3255c74ae62fcd6d17083 /libviengoos | |
parent | 4d65c4a832a8172bea169b3942dcfc04cbd235ef (diff) |
Lower the number of priority levels to 2^6.
libviengoos/
2009-01-20 Neal H. Walfield <neal@gnu.org>
* viengoos/cap.h (VG_OBJECT_PRIORITY_BITS): Lower to 6.
viengoos/
2009-01-20 Neal H. Walfield <neal@gnu.org>
* activity.c (activity_prepare): Adjust initialization code
according to the number of priority levels.
Diffstat (limited to 'libviengoos')
-rw-r--r-- | libviengoos/ChangeLog | 4 | ||||
-rw-r--r-- | libviengoos/viengoos/cap.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libviengoos/ChangeLog b/libviengoos/ChangeLog index 892bf21..e422a41 100644 --- a/libviengoos/ChangeLog +++ b/libviengoos/ChangeLog @@ -1,5 +1,9 @@ 2009-01-20 Neal H. Walfield <neal@gnu.org> + * viengoos/cap.h (VG_OBJECT_PRIORITY_BITS): Lower to 6. + +2009-01-20 Neal H. Walfield <neal@gnu.org> + * viengoos/rpc.h: Include <stdbool.h>. 2009-01-18 Neal H. Walfield <neal@gnu.org> diff --git a/libviengoos/viengoos/cap.h b/libviengoos/viengoos/cap.h index 026af9e..09296eb 100644 --- a/libviengoos/viengoos/cap.h +++ b/libviengoos/viengoos/cap.h @@ -194,9 +194,9 @@ vg_cap_type_strengthen (enum vg_cap_type type) /* Object policy. */ -/* The object priority is a signed 7-bit number (-64 -> 63). A lower +/* The object priority is a signed 6-bit number (-32 -> 31). A lower numeric value corresponds to a lower priority. */ -#define VG_OBJECT_PRIORITY_BITS 7 +#define VG_OBJECT_PRIORITY_BITS 6 #define VG_OBJECT_PRIORITY_LEVELS (1 << VG_OBJECT_PRIORITY_BITS) #define VG_OBJECT_PRIORITY_MIN (-(1 << (VG_OBJECT_PRIORITY_BITS - 1))) #define VG_OBJECT_PRIORITY_DEFAULT (0) |