Be a Pythonista | Series 1 - Learn Python | 08 | Global Interpreter Lock - GIL

preview_player
Показать описание
If you have heard about Python, then you must have heard about GIL or Global Interpreter Lock as well. In this video, let's try to understand, what is GIL, how it works, and why do we need it?

This channel publishes videos that focus on learning Python and Python based frameworks.
If that sounds like it could be helpful for you, please subscribe to the channel and click on the bell icon to enable notification for future uploads.

I am always open to suggestions, feedback or criticism or new topics on which you would like me to make the videos.
Please reach out to me through any of the following channels.

Copyright - © Vivek Keshore | Be a Pythonista

Any reproduction or usage of the content without mentioning the credit is not allowed.
Рекомендации по теме
Комментарии
Автор

बहुत गर्व है बेटे मेरा आशीर्वाद हमेशा है और हमेशा रहेगा

kirankeshore
Автор

2:55, explain why this complete in 3 seconds then?

import threading


import time



def worker():
"""thread worker function"""
time.sleep(3)
print 'Worker'

for i in range(5):
t =
t.start()

From what you said it should take 15 seconds.

MccZerk
Автор

Is there any way to check the 5ms locking period of GIL in Python 3.2? Can you give an example where CPU bound job gets precedence over IO bound job in Python 3.

sabyasachideb
Автор

video is too good. can you give real python code exmaple on it?

amitvora
Автор

Sir plz make a video on multi processing

kulvendrasingh
Автор

Sab rata rataya hai..thoda explain mar bhai

shivamkedia
join shbcf.ru