equal
deleted
inserted
replaced
70 bool consume = true, |
70 bool consume = true, |
71 uint worker_i = 0); |
71 uint worker_i = 0); |
72 void **get_buf() { return _buf;} |
72 void **get_buf() { return _buf;} |
73 size_t get_index() { return _index;} |
73 size_t get_index() { return _index;} |
74 void reinitialize() { _buf = 0; _sz = 0; _index = 0;} |
74 void reinitialize() { _buf = 0; _sz = 0; _index = 0;} |
|
75 |
|
76 // Compiler support. |
|
77 static ByteSize byte_offset_of_index() { |
|
78 return PtrQueue::byte_offset_of_index<DirtyCardQueue>(); |
|
79 } |
|
80 using PtrQueue::byte_width_of_index; |
|
81 |
|
82 static ByteSize byte_offset_of_buf() { |
|
83 return PtrQueue::byte_offset_of_buf<DirtyCardQueue>(); |
|
84 } |
|
85 using PtrQueue::byte_width_of_buf; |
|
86 |
75 }; |
87 }; |
76 |
88 |
77 |
89 |
78 |
90 |
79 class DirtyCardQueueSet: public PtrQueueSet { |
91 class DirtyCardQueueSet: public PtrQueueSet { |