\n
Microsoft Invisible Computing

CThread Concrete Class

Default thread implementation

Implements IThread

Constructors

PITHREAD CThreadNew( 
    /*in*/ IProcess * pProcess,
    /*in*/ THREAD_FUNCTION pStart,
    /*in*/ THREAD_ARGUMENT Arg,
    /*in*/ ADDR_SIZE StackSize,
    /*in,optional*/ PIVMVIEW pVmView
)
pProcess

The process the new thread belongs to.

pStart

Where the thread should start running.

Arg

An argument to be passed to the entry point.

StackSize

The stack size, 0 for default.

pVmView

The virtual memory view, NULL for physical.

Methods

ThreadQueryInterface implements IUnknown.QueryInterface
Source in thread.c thread2.c xpshim.c

Determines which interfaces an object supports and returns a valid pointer to an interface.

ThreadAddRef implements IUnknown.AddRef
Source in thread.c thread2.c xpshim.c

Increments the reference count of the object.

ThreadRelease implements IUnknown.Release
Source in thread.c thread2.c xpshim.c

Decrements the reference count of an object. When the count goes to zero, the object is destroyed.

ThreadGetProcess implements IThread.GetProcess
Source in thread.c thread2.c xpshim.c

Gets a pointer to the process object that the thread runs in.

ThreadStartWithConstraint implements IThread.StartWithConstraint
Source in thread.c thread2.c xpshim.c

Get partially initialized thread going.

ThreadGetValue implements IThread.GetValue
Source in thread.c thread2.c xpshim.c

Get the previous value set by IThread.SetValue.

ThreadSetValue implements IThread.SetValue
Source in thread.c thread2.c xpshim.c

Set a thread-specific variable that can be retrieved through IThread.GetValue.

©2006 Microsoft Corporation. All rights reserved. Terms of Use Privacy Statement Accessibility End User License Agreement