diff options
author | Brad Linden <46733234+brad-linden@users.noreply.github.com> | 2024-05-23 13:02:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-23 13:02:08 -0700 |
commit | 0cc832c38a34013a9eebf8d3caad2921bead265d (patch) | |
tree | 8d916206343d075fc85e90e83ec9dabe8b01376d /indra/llcorehttp/_httpreplyqueue.h | |
parent | 03c4458bdcc6821a3047f93b729d412e274ab9af (diff) | |
parent | 9f6849e081deac1f62ab3010ee0984e17749c9e6 (diff) |
Merge pull request #1528 from secondlife/brad/merge-maint-a-to-dev
merge maint-a (including maint-x) into gltf_development
Diffstat (limited to 'indra/llcorehttp/_httpreplyqueue.h')
-rw-r--r-- | indra/llcorehttp/_httpreplyqueue.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/indra/llcorehttp/_httpreplyqueue.h b/indra/llcorehttp/_httpreplyqueue.h index 2de26249ef..d8847fafb5 100644 --- a/indra/llcorehttp/_httpreplyqueue.h +++ b/indra/llcorehttp/_httpreplyqueue.h @@ -24,8 +24,8 @@ * $/LicenseInfo$ */ -#ifndef _LLCORE_HTTP_REPLY_QUEUE_H_ -#define _LLCORE_HTTP_REPLY_QUEUE_H_ +#ifndef _LLCORE_HTTP_REPLY_QUEUE_H_ +#define _LLCORE_HTTP_REPLY_QUEUE_H_ #include "_refcounted.h" @@ -66,42 +66,42 @@ public: typedef std::shared_ptr<HttpOperation> opPtr_t; typedef std::shared_ptr<HttpReplyQueue> ptr_t; - HttpReplyQueue(); - virtual ~HttpReplyQueue(); + HttpReplyQueue(); + virtual ~HttpReplyQueue(); public: typedef std::vector< opPtr_t > OpContainer; - /// Insert an object at the back of the reply queue. - /// - /// Library also takes possession of one reference count to pass - /// through the queue. - /// - /// Threading: callable by any thread. + /// Insert an object at the back of the reply queue. + /// + /// Library also takes possession of one reference count to pass + /// through the queue. + /// + /// Threading: callable by any thread. void addOp(const opPtr_t &op); - /// Fetch an operation from the head of the queue. Returns - /// NULL if none exists. - /// - /// Caller acquires reference count on returned operation. - /// - /// Threading: callable by any thread. + /// Fetch an operation from the head of the queue. Returns + /// NULL if none exists. + /// + /// Caller acquires reference count on returned operation. + /// + /// Threading: callable by any thread. opPtr_t fetchOp(); - /// Caller acquires reference count on each returned operation - /// - /// Threading: callable by any thread. - void fetchAll(OpContainer & ops); - + /// Caller acquires reference count on each returned operation + /// + /// Threading: callable by any thread. + void fetchAll(OpContainer & ops); + protected: - OpContainer mQueue; - LLCoreInt::HttpMutex mQueueMutex; - + OpContainer mQueue; + LLCoreInt::HttpMutex mQueueMutex; + }; // end class HttpReplyQueue } // end namespace LLCore -#endif // _LLCORE_HTTP_REPLY_QUEUE_H_ +#endif // _LLCORE_HTTP_REPLY_QUEUE_H_ |