[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Interfaces=Thread Info=Creates and controls a thread, sets its priority, and gets its status. [Property] Constructor=Sets the Constructor of the Thread class. ARG(enum)|14|0|None,Constructor,Constructor2 Extern=Make an internal variable available in the global scope. ARG(bool)|4|0|True,False @ApartmentState=Obsolete. Sets the apartment state of this thread. ARG(ApartmentState)|14|2|STA,MTA,Unknown @CurrentCulture=Sets the culture for the current thread. ARG(CultureInfo)|20|(empty)|CultureInfo @CurrentPrincipal=Sets the thread's current principal . ARG(IPrincipal)|20|(empty)|IPrincipal @CurrentUICulture=Sets the current culture used by the Resource Manager to look up culture-specific resources at run time. ARG(CultureInfo)|20|(empty)|CultureInfo @IsBackground=Sets a value indicating whether or not a thread is a background thread. ARG(bool)|14|1|True,False @Name=Sets the name of the thread. ARG(string)|2| @Priority=Sets a value indicating the scheduling priority of a thread. ARG(ThreadPriority)|14|2|Lowest,BelowNormal,Normal,AboveNormal,Highest ThreadProc=Sets the delegate for the current thread. ARG(Method)|20|(empty)|Method MaxStackSize=Sets the maximum stack size to be used by the thread. ARG(int)|1|0 [Methods] *doAbort=Raises a ThreadAbortException in the thread on which it is invoked, to begin the process of terminating the thread. Calling this method usually terminates the thread. ARG()|1|0 *doAbort2=Raises a ThreadAbortException in the thread on which it is invoked, to begin the process of terminating the thread while also providing exception information about the thread termination. Calling this method usually terminates the thread. ARG(Object stateInfo)|1|0 *doAllocateNamedDataSlot=Allocates a named data slot on all threads. For better performance, use fields that are marked with the ThreadStaticAttribute attribute instead. ARG(string dataslot)|1|0 *doBeginCriticalRegion=Notifies a host that execution is about to enter a region of code in which the effects of a thread abort or unhandled exception might jeopardize other tasks in the application domain. ARG()|1|0 *doBeginThreadAffinity=Notifies a host that managed code is about to execute instructions that depend on the identity of the current physical operating system thread. ARG()|1|0 doConstructor=Initializes a new instance of the Thread class. ARG(ThreadStart threadproc)|1|0 *doConstructor2=Initializes a new instance of the Thread class, specifying the maximum stack size for the thread. ARG(ThreadStart threadproc, int maxstacksize)|1|0 *doDisableComObjectEagerCleanup=Turns off automatic cleanup of runtime callable wrappers for the current thread. ARG()|1|0 *doEndCriticalRegion=Notifies a host that execution is about to enter a region of code in which the effects of a thread abort or unhandled exception are limited to the current task. ARG()|1|0 *doEndThreadAffinity=Notifies a host that managed code has finished executing instructions that depend on the identity of the current physical operating system thread. ARG()|1|0 *doFreeNamedDataSlot=Eliminates the association between a name and a slot, for all threads in the process. For better performance, use fields that are marked with the ThreadStaticAttribute attribute instead. ARG(string dataslot)|1|0 *doGetData=Retrieves the value from the specified slot on the current thread, within the current thread's current domain. For better performance, use fields that are marked with the ThreadStaticAttribute attribute instead. ARG(LocalDataStoreSlot slot)|1|0 *doGetNamedDataSlot=Looks up a named data slot. For better performance, use fields that are marked with the ThreadStaticAttribute attribute instead. ARG(string dataslot)|1|0 *doInterrupt=Interrupts a thread that is in the WaitSleepJoin thread state. ARG()|1|0 *doJoin=Blocks the calling thread until a thread terminates, while continuing to perform standard COM and SendMessage pumping. ARG()|1|0 *doJoin2=Blocks the calling thread until a thread terminates or the specified time elapses, while continuing to perform standard COM and SendMessage pumping. ARG(int millisecondsTimeout)|1|0 *doJoin3=Blocks the calling thread until a thread terminates or the specified time elapses, while continuing to perform standard COM and SendMessage pumping. ARG(TimeSpan timeout)|1|0 *doMemoryBarrier=Synchronizes memory access as follows: The processor executing the current thread cannot reorder instructions in such a way that memory accesses prior to the call to MemoryBarrier execute after memory accesses that follow the call to MemoryBarrier. ARG()|1|0 *doResetAbort=Cancels an Abort requested for the current thread. ARG()|1|0 *doResume=Obsolete. Resumes a thread that has been suspended. ARG()|1|0 *doSetApartmentState=Sets the apartment state of a thread before it is started. ARG(ApartmentState state)|1|0 *doSetCompressedStack=Obsolete. Applies a captured CompressedStack to the current thread. ARG(CompressedStack stack)|1|0 *doSetData=Sets the data in the specified slot on the currently running thread, for that thread's current domain. For better performance, use fields marked with the ThreadStaticAttribute attribute instead. ARG(LocalDataStoreSlot slot, Object data)|1|0 *doSetProcessorAffinity=In the .NET Compact Framework for Xbox 360, sets the processor affinity for a managed thread. Processor affinity determines the processors on which a thread runs. ARG(params int[] cpus)|1|0 *doSleep=Suspends the current thread for a specified time. ARG(int millisecondsTimeout)|1|0 *doSleep2=Blocks the current thread for a specified time. ARG(TimeSpan timeout)|1|0 *doSpinWait=Causes a thread to wait the number of times defined by the iterations parameter. ARG(int iterations)|1|0 doStart=Causes the operating system to change the state of the current instance to ThreadState.Running. ARG()|1|0 *doStart2=Causes the operating system to change the state of the current instance to ThreadState.Running, and optionally supplies an object containing data to be used by the method the thread executes. ARG(Object parameter)|1|0 *doSuspend=Obsolete. Either suspends the thread, or if the thread is already suspended, has no effect. ARG()|1|0 *doTrySetApartmentState=Sets the apartment state of a thread before it is started. ARG(ApartmentState state)|1|0 *doVolatileRead=Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. ARG(ref byte address)|1|0 *doVolatileRead2=Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. ARG(ref double address)|1|0 *doVolatileRead3=Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. ARG(ref short address)|1|0 *doVolatileRead4=Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. ARG(ref int address)|1|0 *doVolatileRead5=Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. ARG(ref long address)|1|0 *doVolatileRead6=Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. ARG(ref IntPtr address)|1|0 *doVolatileRead7=Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. ARG(ref Object address)|1|0 *doVolatileRead8=Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. ARG(ref sbyte address)|1|0 *doVolatileRead9=Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. ARG(ref float address)|1|0 *doVolatileRead10=Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. ARG(ref ushort address)|1|0 *doVolatileRead11=Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. ARG(ref uint address)|1|0 *doVolatileRead12=Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. ARG(ref ulong address)|1|0 *doVolatileRead13=Reads the value of a field. The value is the latest written by any processor in a computer, regardless of the number of processors or the state of processor cache. ARG(ref UIntPtr address)|1|0 *doVolatileWrite=Writes a value to a field immediately, so that the value is visible to all processors in the computer. ARG(ref byte address, byte value)|1|0 *doVolatileWrite2=Writes a value to a field immediately, so that the value is visible to all processors in the computer. ARG(ref double address, double value)|1|0 *doVolatileWrite3=Writes a value to a field immediately, so that the value is visible to all processors in the computer. ARG(ref short address, short value)|1|0 *doVolatileWrite4=Writes a value to a field immediately, so that the value is visible to all processors in the computer. ARG(ref int address, int value)|1|0 *doVolatileWrite5=Writes a value to a field immediately, so that the value is visible to all processors in the computer. ARG(ref long address, long value)|1|0 *doVolatileWrite6=Writes a value to a field immediately, so that the value is visible to all processors in the computer. ARG(ref IntPtr address, IntPtr value)|1|0 *doVolatileWrite7=Writes a value to a field immediately, so that the value is visible to all processors in the computer. ARG(ref Object address, Object value)|1|0 *doVolatileWrite8=Writes a value to a field immediately, so that the value is visible to all processors in the computer. ARG(ref sbyte address, sbyte value)|1|0 *doVolatileWrite9=Writes a value to a field immediately, so that the value is visible to all processors in the computer. ARG(ref float address, float value)|1|0 *doVolatileWrite10=Writes a value to a field immediately, so that the value is visible to all processors in the computer. ARG(ref ushort address, ushort value)|1|0 *doVolatileWrite11=Writes a value to a field immediately, so that the value is visible to all processors in the computer. ARG(ref uint address, uint value)|1|0 *doVolatileWrite12=Writes a value to a field immediately, so that the value is visible to all processors in the computer. ARG(ref ulong address, ulong value)|1|0 *doVolatileWrite13=Writes a value to a field immediately, so that the value is visible to all processors in the computer. ARG(ref UIntPtr address, UIntPtr value)|1|0 *onAllocateNamedDataSlot=Occurs after invoke the method doAllocateNamedDataSlot and returns the result ARG(LocalDataStoreSlot)|2|0 *onGetData=Occurs after invoke the method doGetData and returns the result ARG(Object)|2|0 *onGetNamedDataSlot=Occurs after invoke the method doGetNamedDataSlot and returns the result ARG(LocalDataStoreSlot)|2|0 *onJoin=Occurs after invoke the method doJoin and returns the result ARG(bool)|2|104 onStart=Defines new thread of the perform a program. ARG(object)|2|0 *onTrySetApartmentState=Occurs after invoke the method doTrySetApartmentState and returns the result ARG(bool)|2|104 *onVolatileRead=Occurs after invoke the method doVolatileRead and returns the result ARG(byte)|2|0 *AllocateDataSlot=Allocates an unnamed data slot on all the threads. For better performance, use fields that are marked with the ThreadStaticAttribute attribute instead. ARG(LocalDataStoreSlot)|3|0 *ApartmentState=Obsolete. Gets or sets the apartment state of this thread. ARG(ApartmentState)|3|0 *CurrentContext=Returns the current context in which the thread is executing. ARG(Context)|3|0 *CurrentCulture=Returns the culture for the current thread. ARG(CultureInfo)|3|0 *CurrentPrincipal=Returns the thread's current principal . ARG(IPrincipal)|3|0 *CurrentThread=Returns the currently running thread. ARG(Thread)|3|0 *CurrentUICulture=Returns the current culture used by the Resource Manager to look up culture-specific resources at run time. ARG(CultureInfo)|3|0 *ExecutionContext=Returns an ExecutionContext object that contains information about the various contexts of the current thread. ARG(ExecutionContext)|3|0 *GetApartmentState=Returns an ApartmentState value indicating the apartment state. ARG(ApartmentState)|3|0 *GetCompressedStack=Obsolete. Returns a CompressedStack object that can be used to capture the stack for the current thread. ARG(CompressedStack)|3|0 *GetDomain=Returns the current domain in which the current thread is running. ARG(AppDomain)|3|0 *GetDomainID=Returns a unique application domain identifier. ARG(int)|3|1 *GetHashCode=Returns a hash code for the current thread. ARG(int)|3|1 *IsAlive=Returns a value indicating the execution status of the current thread. ARG(bool)|3|104 *IsBackground=Returns a value indicating whether or not a thread is a background thread. ARG(bool)|3|104 *IsThreadPoolThread=Returns a value indicating whether or not a thread belongs to the managed thread pool. ARG(bool)|3|104 *ManagedThreadId=Returns a unique identifier for the current managed thread. ARG(int)|3|1 *Name=Returns the name of the thread. ARG(string)|3|2 *Priority=Returns a value indicating the scheduling priority of a thread. ARG(ThreadPriority)|3|0 *ThreadState=Returns a value containing the states of the current thread. ARG(ThreadState)|3|0 *Yield=Causes the calling thread to yield execution to another thread that is ready to run on the current processor. The operating system selects the thread to yield to. ARG(bool)|3|104 Thread=Returns the Thread object. ARG(Thread)|3|0 *address=Defines the field to be read/write. ARG(byte)|4|0 *cpus=Defines an array of identifiers that specify the hardware threads on which the managed thread is permitted to run. ARG(int[])|4|13 *data=Defines the value to be set. ARG(Object)|4|0 *iterations=Defines a 32-bit signed integer that defines how long a thread is to wait. ARG(int)|4|1 *maxStackSize=Defines the maximum stack size to be used by the thread, or 0 to use the default maximum stack size specified in the header for the executable. Important. For partially trusted code, maxStackSize is ignored if it is greater than the default stack size. No exception is thrown. ARG(int)|4|1 *millisecondsTimeout=Defines the number of milliseconds to wait for the thread to terminate. ARG(int)|4|1 *dataslot=Defines the name of the data slot to be allocated. ARG(string)|4|2 *parameter=Defines an object that contains data to be used by the method the thread executes. ARG(Object)|4|0 *slot=Defines the LocalDataStoreSlot from which to get the value. ARG(LocalDataStoreSlot)|4|0 *stack=Defines the CompressedStack object to be applied to the current thread. ARG(CompressedStack)|4|0 *state=Defines the new apartment state. ARG(ApartmentState)|4|0 *stateInfo=Defines an object that contains application-specific information, such as state, which can be used by the thread being aborted. ARG(Object)|4|0 *timeout=Defines a TimeSpan set to the amount of time to wait for the thread to terminate. ARG(TimeSpan)|4|0 *value=Defines the value to be written. ARG(byte)|4|0