- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Properties of the Thread Class
A thread is defined as the execution path of a program. Each thread defines a unique flow of control.
The following are the properties of the Thread class −
Sr.No. | Property & Description |
---|---|
1 | CurrentContext Gets the current context in which the thread is executing. |
2 | CurrentCulture Gets or sets the culture for the current thread. |
3 | CurrentPrinciple Gets or sets the thread's current principal (for role-based security). |
4 | currentThread Gets the currently running thread. |
5 | CurrentUICulture Gets or sets the current culture used by the Resource Manager to look up culture-specific resources at run-time. |
6 | ExecutionContext Gets an ExecutionContext object that contains information about the various contexts of the current thread. |
7 | IsAlive Gets a value indicating the execution status of the current thread. |
8 | IsBackground Gets or sets a value indicating whether or not a thread is a background thread. |
9 | IsThreadPoolThread Gets a value indicating whether or not a thread belongs to the managed thread pool. |
10 | ManagedThreadId Gets a unique identifier for the current managed thread. |
11 | Name Gets or sets the name of the thread. |
12 | Priority Gets or sets a value indicating the scheduling priority of a thread. |
- Related Articles
- What are the methods and properties of the Thread class in C#?
- Methods of the Thread Class
- The join() method of Thread Class in Java
- What is the Thread class in Java?
- PHP Class properties
- isAlive() method of Thread Class in Java programming
- PHP Inherit the properties of non-class object?
- What are the properties of array class in C#?
- How to use isAlive() method of Thread class in Java?
- How to make a class thread-safe in Java?
- Difference Between Thread Class and Runnable Interface in Java
- How are the methods and properties of Array class in C# useful?
- How to create a thread by using anonymous class in Java?
- What is the concept of thread?
- How to get the thread ID from a thread in C#?

Advertisements