#include <jobqueue.h>
Reference to a serial queue which guarantees serialized execution of the enqueued jobs. Serial execution does not guarantee the order of execution. The queue may reorder jobs if necessary.
公共成员函数 |
|
| SerialJobQueueRef () | |
| SerialJobQueueRef & | operator= (const JobQueueInterface::None &none) |
| SerialJobQueueRef & | operator= (std::nullptr_t t) |
| Result < UInt > | Init ( JOBQUEUETYPE type, Int threadCnt, JOBQUEUEMODE mode, const Char *name)=delete |
Public Member Functions inherited from
JobQueueRef
|
|
| MAXON_DEFAULT_REFERENCE_CONSTRUCTORS ( JobQueueRef , Reference) | |
| MAXON_IMPLICIT | JobQueueRef (const JobQueueInterface::Current &) |
| MAXON_IMPLICIT | JobQueueRef (const JobQueueInterface::None &) |
| JobQueueRef & | operator= (const JobQueueInterface::Current &) |
| JobQueueRef & | operator= (const JobQueueInterface::None &) |
静态公共成员函数 |
|
| static Result < SerialJobQueueRef > | 创建 () |
| static Result < SerialJobQueueRef > | 创建 ( JOBQUEUETYPE type, JOBQUEUEMODE mode= JOBQUEUEMODE::DEFAULT , const Char *name="Serial Job Queue ", UInt *ownerId=nullptr) |
Private Types |
|
| using | Super = JobQueueRef |
|
private |
| SerialJobQueueRef | ( | ) |
|
static |
Creates and initializes a serial job queue.
|
static |
Creates and initializes a serial job queue.
| [in] | type | Queue type, by default JOBQUEUETYPE::LOWPRIORITY . |
| [in] | mode | Scheduling options for the queue, the default is JOBQUEUEMODE::DEFAULT . |
| [in] | name | The queue name, by default "Serial Job Queue". |
| [out] | ownerId | Owner id of the queue (can be used for CancelAndWait). |
| SerialJobQueueRef & operator= | ( | const JobQueueInterface::None & | none | ) |
| SerialJobQueueRef & operator= | ( | std::nullptr_t | t | ) |
|
delete |