Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD

## Namespace: OtlThreadPool
Unit globals OtlThreadPool

public unit globals OtlThreadPool

Field Summary
`internal System.Shortint` | `CDefaultIdleWorkerThreadTimeout_sec`
`internal System.Shortint` | `CDefaultWaitOnTerminate_sec`
`internal System.string` | `CGlobalOmniThreadPoolName`
`internal IOmniThreadPool` | `GOmniThreadPool`
`internal System.Shortint` | `MSG_CANCEL_RESULT`
`internal System.Shortint` | `MSG_COMPLETED`
`internal System.Shortint` | `MSG_RUN`
`internal System.Shortint` | `MSG_STOP`
`internal System.Shortint` | `MSG_THREAD_CREATED`
`internal System.Shortint` | `MSG_THREAD_DESTROYING`
`internal` | `WM_REQUEST_COMPLETED`

Method Summary
`public function integer` | `CompareGroupAffinity(item1: pointer; item2: pointer)`
`public function IOmniThreadPool` | `CreateThreadPool(threadPoolName: string)`
`public function IOmniThreadPool` | `GlobalOmniThreadPool()`

Field Detail

### CDefaultIdleWorkerThreadTimeout_sec

    internal const CDefaultIdleWorkerThreadTimeout_sec: System.Shortint = 10

Initial
  10

Const
  True

### CDefaultWaitOnTerminate_sec

    internal const CDefaultWaitOnTerminate_sec: System.Shortint = 30

Initial
  30

Const
  True

### CGlobalOmniThreadPoolName

    internal const CGlobalOmniThreadPoolName: System.string = 'GlobalOmniThreadPool'

Initial
  'GlobalOmniThreadPool'

Const
  True

### GOmniThreadPool

    internal GOmniThreadPool: IOmniThreadPool  = nil

Const
  False

Type
  IOmniThreadPool

### MSG_CANCEL_RESULT

    internal const MSG_CANCEL_RESULT: System.Shortint = 6

Initial
  6

Const
  True

### MSG_COMPLETED

    internal const MSG_COMPLETED: System.Shortint = 4

Initial
  4

Const
  True

### MSG_RUN

    internal const MSG_RUN: System.Shortint = 1

Initial
  1

Const
  True

### MSG_STOP

    internal const MSG_STOP: System.Shortint = 5

Initial
  5

Const
  True

### MSG_THREAD_CREATED

    internal const MSG_THREAD_CREATED: System.Shortint = 2

Initial
  2

Const
  True

### MSG_THREAD_DESTROYING

    internal const MSG_THREAD_DESTROYING: System.Shortint = 3

Initial
  3

Const
  True

### WM_REQUEST_COMPLETED

    internal const WM_REQUEST_COMPLETED:  = WM_USER

Initial
  WM_USER

Const
  True

Method Detail

### CompareGroupAffinity

    public function CompareGroupAffinity(item1: pointer; item2: pointer): integer

Returns
  integer

### CreateThreadPool

    public function CreateThreadPool(threadPoolName: string): IOmniThreadPool

Returns
  IOmniThreadPool

### GlobalOmniThreadPool

    public function GlobalOmniThreadPool(): IOmniThreadPool

Returns
  IOmniThreadPool

Association Link

to Interface IOmniThreadPool

Supplier
  IOmniThreadPool

Directed
  False

Client
  GOmniThreadPool

Type
  association

Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD