Contains information about a lightweight work item.
#include <nks/thread.h>
typedef struct lwWork
{
void *reserved[7];
void (*lwWorkFunc) (struct lwWork *, void *lwAppRef);
void lwAppRef;
} NXLwWork_t;
Reserved.
Points to the function to execute as light-weight work.
Specifies an application-defined value. Anything set in this field persists throughout the work.
The NX_CTXSTATE_INIT state signifies that the context is currently not bound and that the execution state has not been changed from the values used to initialize (allocate) the context.