mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
NSOperationQueue additions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29495 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d18782ed0e
commit
0dec7f1b97
3 changed files with 328 additions and 16 deletions
|
@ -186,7 +186,6 @@ enum {
|
|||
NSOperationQueueDefaultMaxConcurrentOperationCount = -1
|
||||
};
|
||||
|
||||
// NSOperationQueue
|
||||
@interface NSOperationQueue : NSObject
|
||||
{
|
||||
@private
|
||||
|
@ -211,7 +210,17 @@ enum {
|
|||
*/
|
||||
- (NSInteger) maxConcurrentOperationCount;
|
||||
|
||||
/** Returns all the operations currently in the queue.
|
||||
#if OS_API_VERSION(100600, GS_API_LATEST)
|
||||
/** Return the name of this operation queue.
|
||||
*/
|
||||
- (NSString*) name;
|
||||
|
||||
/** Return the number of operations in the queue at an instant.
|
||||
*/
|
||||
- (NSUInteger) operationCount;
|
||||
#endif
|
||||
|
||||
/** Returns all the operations in the queue at an instant.
|
||||
*/
|
||||
- (NSArray *) operations;
|
||||
|
||||
|
@ -222,6 +231,12 @@ enum {
|
|||
*/
|
||||
- (void) setMaxConcurrentOperationCount: (NSInteger)cnt;
|
||||
|
||||
#if OS_API_VERSION(100600, GS_API_LATEST)
|
||||
/** Sets the name for this operation queue.
|
||||
*/
|
||||
- (void) setName: (NSString*)s;
|
||||
#endif
|
||||
|
||||
/** Marks the receiver as suspended ... while suspended an operation queue
|
||||
* will not start any more operations.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue