doc
This commit is contained in:
@@ -334,7 +334,8 @@ public:
|
||||
|
||||
inline void reserve(size_t i) {}
|
||||
|
||||
//! Extend size. Implies make_unique()
|
||||
//! Extend size. Implies make_unique().
|
||||
//! @post unique()==true
|
||||
void resize(size_t i) {
|
||||
if(!this->unique() || i!=this->_count) {
|
||||
shared_array o(i);
|
||||
@@ -343,7 +344,8 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
//! Ensure exclusive ownership of array data
|
||||
//! Ensure exclusive ownership of array data by making a copy if necessary.
|
||||
//! @post unique()==true
|
||||
inline void make_unique() {
|
||||
this->resize(this->size());
|
||||
}
|
||||
|
||||
+2
-3
@@ -54,13 +54,12 @@ struct MonitorOp : public ServerOp,
|
||||
BitMask pvMask;
|
||||
std::string msg;
|
||||
|
||||
// Further members can only be changed from the accepter worker thread with this lock held.
|
||||
// They may be read from the worker, or if this lock is held.
|
||||
// Further members guarded by this lock (except as noted)
|
||||
mutable epicsMutex lock;
|
||||
|
||||
// is doReply() scheduled to run
|
||||
bool scheduled=false;
|
||||
bool pipeline=false;
|
||||
bool pipeline=false; // const after setup
|
||||
// finish() called
|
||||
bool finished=false;
|
||||
size_t window=0u, limit=4u;
|
||||
|
||||
Reference in New Issue
Block a user