Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

wkf_threadlaunch_struct Struct Reference

#include <WKFThreads.h>

List of all members.


Public Attributes

int padding1 [8]
wkf_shared_iterator_t * iter
int threadid
int threadcount
void * clientdata
int padding2 [8]

Detailed Description

Routines to generate a pool of threads which then grind through a dynamically load balanced work queue implemented as a shared iterator. No exception handling is possible, just a simple all-or-nothing attept. Useful for simple calculations that take very little time. An array of threads is generated, launched, and joined all with one call.

Definition at line 613 of file WKFThreads.h.


Member Data Documentation

void* wkf_threadlaunch_struct::clientdata

worker parameters

Definition at line 618 of file WKFThreads.h.

Referenced by wkf_threadlaunch, and wkf_threadlaunch_getdata.

wkf_shared_iterator_t* wkf_threadlaunch_struct::iter

dynamic scheduler iterator

Definition at line 615 of file WKFThreads.h.

Referenced by wkf_threadlaunch, wkf_threadlaunch_next_tile, and wkf_threadlaunch_setfatalerror.

int wkf_threadlaunch_struct::padding1[8]

avoid false sharing, cache aliasing

Definition at line 614 of file WKFThreads.h.

int wkf_threadlaunch_struct::padding2[8]

avoid false sharing, cache aliasing

Definition at line 619 of file WKFThreads.h.

int wkf_threadlaunch_struct::threadcount

number of workers

Definition at line 617 of file WKFThreads.h.

Referenced by wkf_threadlaunch, and wkf_threadlaunch_getid.

int wkf_threadlaunch_struct::threadid

ID of worker thread

Definition at line 616 of file WKFThreads.h.

Referenced by wkf_threadlaunch, and wkf_threadlaunch_getid.


The documentation for this struct was generated from the following file:
Generated on Wed Nov 19 02:49:13 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /