Skip to content

Commit 69a51b2

Browse files
c
1 parent e83c820 commit 69a51b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contrib/advanced-python/MultiThreadingg.md renamed to contrib/Multithreading/Multithreading.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,12 @@
112112
for thread in threads:
113113
thread.join()
114114

115-
>> Common Pitfalls
115+
>> Common Pitfalls
116116
1.Global Interpreter Lock (GIL): Python's GIL can limit the performance benefits of threading for CPU-bound tasks. Consider using
117117
multiprocessing for such tasks.
118118
2.Race conditions: Ensure proper synchronization to avoid race conditions when accessing shared resources.
119119
Deadlocks: Be cautious of deadlocks when using multiple locks.
120120

121-
>> Conclusion
122-
Multithreading in Python is a powerful tool for concurrent execution, especially for I/O-bound tasks. By understanding and correctly
123-
implementing threading, you can significantly improve the performance and responsiveness of your applications.
121+
>> Conclusion
122+
Multithreading in Python is a powerful tool for concurrent execution, especially for I/O-bound tasks. By understanding and correctly
123+
implementing threading, you can significantly improve the performance and responsiveness of your applications.

0 commit comments

Comments
 (0)