mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-05 19:36:16 +08:00
removed exception specifications. thread exceptions weren't
being listed and they'd have to be added to every one. just doesn't seem worth the trouble.
This commit is contained in:
@@ -19,25 +19,25 @@ class CBufferedInputStream : public IInputStream {
|
||||
// manipulators
|
||||
|
||||
// write() appends n bytes to the buffer
|
||||
void write(const void*, UInt32 n) throw();
|
||||
void write(const void*, UInt32 n);
|
||||
|
||||
// causes read() to always return immediately. if there is no
|
||||
// more data then it returns 0. further writes are discarded.
|
||||
void hangup() throw();
|
||||
void hangup();
|
||||
|
||||
// same as read() but caller must lock the mutex
|
||||
UInt32 readNoLock(void*, UInt32 count) throw(XIO);
|
||||
UInt32 readNoLock(void*, UInt32 count);
|
||||
|
||||
// accessors
|
||||
|
||||
// same as getSize() but caller must lock the mutex
|
||||
UInt32 getSizeNoLock() const throw();
|
||||
UInt32 getSizeNoLock() const;
|
||||
|
||||
// IInputStream overrides
|
||||
// these all lock the mutex for their duration
|
||||
virtual void close() throw(XIO);
|
||||
virtual UInt32 read(void*, UInt32 count) throw(XIO);
|
||||
virtual UInt32 getSize() const throw();
|
||||
virtual void close();
|
||||
virtual UInt32 read(void*, UInt32 count);
|
||||
virtual UInt32 getSize() const;
|
||||
|
||||
private:
|
||||
CMutex* m_mutex;
|
||||
|
||||
Reference in New Issue
Block a user