Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การเขียนโปรแกรม >> Python

Python Dictionary เป็น Thread-Safe หรือไม่

ใช่ Python dictionary เป็น thread-safe จริงๆ แล้ว built-in ทั้งหมดใน Python เป็น thread-safe คุณสามารถอ่านเพิ่มเติมได้ในเอกสาร: https://docs.python.org/3/glossary.html#term-global-interpreter-lock