ReactOS 0.4.16-dev-983-g23ad936
threadpool_object Struct Reference
Collaboration diagram for threadpool_object:

Public Attributes

voidwin32_callback
 
LONG refcount
 
BOOL shutdown
 
enum threadpool_objtype type
 
struct threadpoolpool
 
struct threadpool_groupgroup
 
PVOID userdata
 
PTP_CLEANUP_GROUP_CANCEL_CALLBACK group_cancel_callback
 
PTP_SIMPLE_CALLBACK finalization_callback
 
BOOL may_run_long
 
HMODULE race_dll
 
TP_CALLBACK_PRIORITY priority
 
struct list group_entry
 
BOOL is_group_member
 
struct list pool_entry
 
RTL_CONDITION_VARIABLE finished_event
 
RTL_CONDITION_VARIABLE group_finished_event
 
HANDLE completed_event
 
LONG num_pending_callbacks
 
LONG num_running_callbacks
 
LONG num_associated_callbacks
 
union {
   struct {
      PTP_SIMPLE_CALLBACK   callback
 
   }   simple
 
   struct {
      PTP_WORK_CALLBACK   callback
 
   }   work
 
   struct {
      PTP_TIMER_CALLBACK   callback
 
      BOOL   timer_initialized
 
      BOOL   timer_pending
 
      struct list   timer_entry
 
      BOOL   timer_set
 
      ULONGLONG   timeout
 
      LONG   period
 
      LONG   window_length
 
   }   timer
 
   struct {
      PTP_WAIT_CALLBACK   callback
 
      LONG   signaled
 
      struct waitqueue_bucket *   bucket
 
      BOOL   wait_pending
 
      struct list   wait_entry
 
      ULONGLONG   timeout
 
      HANDLE   handle
 
      DWORD   flags
 
      RTL_WAITORTIMERCALLBACKFUNC   rtl_callback
 
   }   wait
 
   struct {
      PTP_IO_CALLBACK   callback
 
      unsigned int   pending_count
 
      unsigned int   skipped_count
 
      unsigned int   completion_count
 
      unsigned int   completion_max
 
      BOOL   shutting_down
 
      struct io_completion *   completions
 
   }   io
 
u
 

Detailed Description

Definition at line 182 of file threadpool.c.

Member Data Documentation

◆ bucket

struct waitqueue_bucket* threadpool_object::bucket

Definition at line 236 of file threadpool.c.

Referenced by waitqueue_thread_proc().

◆ callback [1/5]

PTP_SIMPLE_CALLBACK threadpool_object::callback

Definition at line 213 of file threadpool.c.

◆ callback [2/5]

PTP_WORK_CALLBACK threadpool_object::callback

Definition at line 217 of file threadpool.c.

◆ callback [3/5]

PTP_TIMER_CALLBACK threadpool_object::callback

Definition at line 221 of file threadpool.c.

◆ callback [4/5]

PTP_WAIT_CALLBACK threadpool_object::callback

Definition at line 233 of file threadpool.c.

◆ callback [5/5]

PTP_IO_CALLBACK threadpool_object::callback

Definition at line 246 of file threadpool.c.

◆ completed_event

HANDLE threadpool_object::completed_event

Definition at line 204 of file threadpool.c.

◆ completion_count

unsigned int threadpool_object::completion_count

Definition at line 248 of file threadpool.c.

◆ completion_max

unsigned int threadpool_object::completion_max

Definition at line 248 of file threadpool.c.

◆ completions

struct io_completion* threadpool_object::completions

Definition at line 250 of file threadpool.c.

◆ finalization_callback

PTP_SIMPLE_CALLBACK threadpool_object::finalization_callback

Definition at line 193 of file threadpool.c.

◆ finished_event

RTL_CONDITION_VARIABLE threadpool_object::finished_event

Definition at line 202 of file threadpool.c.

Referenced by TpCancelAsyncIoOperation().

◆ flags

DWORD threadpool_object::flags

Definition at line 241 of file threadpool.c.

◆ group

struct threadpool_group* threadpool_object::group

Definition at line 190 of file threadpool.c.

◆ group_cancel_callback

PTP_CLEANUP_GROUP_CANCEL_CALLBACK threadpool_object::group_cancel_callback

Definition at line 192 of file threadpool.c.

◆ group_entry

struct list threadpool_object::group_entry

Definition at line 198 of file threadpool.c.

◆ group_finished_event

RTL_CONDITION_VARIABLE threadpool_object::group_finished_event

Definition at line 203 of file threadpool.c.

Referenced by TpCancelAsyncIoOperation().

◆ handle

HANDLE threadpool_object::handle

Definition at line 240 of file threadpool.c.

Referenced by RtlDeregisterWaitEx(), and TpSetWait().

◆ 

struct { ... } threadpool_object::io

◆ is_group_member

BOOL threadpool_object::is_group_member

Definition at line 199 of file threadpool.c.

◆ may_run_long

BOOL threadpool_object::may_run_long

Definition at line 194 of file threadpool.c.

◆ num_associated_callbacks

LONG threadpool_object::num_associated_callbacks

Definition at line 207 of file threadpool.c.

◆ num_pending_callbacks

LONG threadpool_object::num_pending_callbacks

Definition at line 205 of file threadpool.c.

◆ num_running_callbacks

LONG threadpool_object::num_running_callbacks

Definition at line 206 of file threadpool.c.

◆ pending_count

unsigned int threadpool_object::pending_count

Definition at line 248 of file threadpool.c.

◆ period

LONG threadpool_object::period

Definition at line 228 of file threadpool.c.

Referenced by TpSetTimer().

◆ pool

struct threadpool* threadpool_object::pool

Definition at line 189 of file threadpool.c.

◆ pool_entry

struct list threadpool_object::pool_entry

Definition at line 201 of file threadpool.c.

Referenced by threadpool_worker_proc().

◆ priority

TP_CALLBACK_PRIORITY threadpool_object::priority

Definition at line 196 of file threadpool.c.

◆ race_dll

HMODULE threadpool_object::race_dll

Definition at line 195 of file threadpool.c.

◆ refcount

LONG threadpool_object::refcount

Definition at line 185 of file threadpool.c.

◆ rtl_callback

RTL_WAITORTIMERCALLBACKFUNC threadpool_object::rtl_callback

Definition at line 242 of file threadpool.c.

◆ shutdown

BOOL threadpool_object::shutdown

Definition at line 186 of file threadpool.c.

◆ shutting_down

BOOL threadpool_object::shutting_down

Definition at line 249 of file threadpool.c.

◆ signaled

LONG threadpool_object::signaled

Definition at line 234 of file threadpool.c.

◆ 

struct { ... } threadpool_object::simple

◆ skipped_count

unsigned int threadpool_object::skipped_count

Definition at line 248 of file threadpool.c.

◆ timeout

ULONGLONG threadpool_object::timeout

Definition at line 227 of file threadpool.c.

Referenced by RtlRegisterWait(), timerqueue_thread_proc(), and waitqueue_thread_proc().

◆ 

◆ timer_entry

struct list threadpool_object::timer_entry

Definition at line 225 of file threadpool.c.

◆ timer_initialized

BOOL threadpool_object::timer_initialized

Definition at line 223 of file threadpool.c.

◆ timer_pending

BOOL threadpool_object::timer_pending

Definition at line 224 of file threadpool.c.

◆ timer_set

BOOL threadpool_object::timer_set

Definition at line 226 of file threadpool.c.

◆ type

◆ 

◆ userdata

PVOID threadpool_object::userdata

Definition at line 191 of file threadpool.c.

Referenced by rtl_wait_callback().

◆ 

◆ wait_entry

struct list threadpool_object::wait_entry

Definition at line 238 of file threadpool.c.

◆ wait_pending

BOOL threadpool_object::wait_pending

Definition at line 237 of file threadpool.c.

◆ win32_callback

void* threadpool_object::win32_callback

Definition at line 184 of file threadpool.c.

◆ window_length

LONG threadpool_object::window_length

Definition at line 229 of file threadpool.c.

Referenced by TpSetTimer().

◆ 

struct { ... } threadpool_object::work

The documentation for this struct was generated from the following file: