C# (CSharp) Amib.Threading.Internal Пространство имен

Классы

Имя Описание
CallerThreadContext This class stores the caller call context in order to restore it when the work item is executed in the thread pool environment.
CanceledWorkItemsGroup
EventWaitHandle EventWaitHandle class In WindowsCE this class doesn't exist and I needed the WaitAll and WaitAny implementation. So I wrote this class to implement these two methods with some of their overloads. It uses the WaitForMultipleObjects API to do the WaitAll and WaitAny. Note that this class doesn't even inherit from WaitHandle!
EventWaitHandleFactory EventWaitHandleFactory class. This is a static class that creates AutoResetEvent and ManualResetEvent objects. In WindowCE the WaitForMultipleObjects API fails to use the Handle property of XxxResetEvent. It can use only handles that were created by the CreateEvent API. Consequently this class creates the needed XxxResetEvent and replaces the handle if it's a WindowsCE OS.
LocalSTPInstancePerformanceCounters
NullSTPInstancePerformanceCounters
PriorityQueue PriorityQueue class This class is not thread safe because we use external lock
PriorityQueue.PriorityQueueEnumerator The class the implements the enumerator
STPEventWaitHandle
STPInstanceNullPerformanceCounter
STPInstancePerformanceCounter
STPInstancePerformanceCounters
STPPerformanceCounter Summary description for STPPerformanceCounter.
STPPerformanceCounters
WorkItem Holds a callback delegate and the state for that delegate.
WorkItem.WorkItemResult
WorkItemFactory
WorkItemsGroup
WorkItemsQueue WorkItemsQueue class.
WorkItemsQueue.WaiterEntry