4021028ce8a137d603aa65b77881fc475627e34d,imutils/video/pivideostream.py,PiVideoStream,start,#PiVideoStream#,22
Before Change
def start(self):
// start the thread to read frames from the video stream
Thread(target=self.update, args=()).start()
return self
def update(self):
// keep looping infinitely until the thread is stopped
After Change
def start(self):
// start the thread to read frames from the video stream
t = Thread(target=self.update, args=())
t.daemon = True
t.start()
return self
def update(self):
// keep looping infinitely until the thread is stopped
In pattern: SUPERPATTERN
Frequency: 8
Non-data size: 7
Instances Project Name: jrosebr1/imutils
Commit Name: 4021028ce8a137d603aa65b77881fc475627e34d
Time: 2016-01-09
Author: jrosebr1@umbc.edu
File Name: imutils/video/pivideostream.py
Class Name: PiVideoStream
Method Name: start
Project Name: streamlit/streamlit
Commit Name: 654a0a9cdc1cbcb2e913f31aaf33a704a3a58e3b
Time: 2018-06-18
Author: armando@playground.global
File Name: lib/streamlit/Connection.py
Class Name: Connection
Method Name: _connect_to_proxy
Project Name: tflearn/tflearn
Commit Name: 514dd3f9bb072ff71068aef29642906777832e2a
Time: 2016-09-13
Author: aymeric.damien@gmail.com
File Name: tflearn/data_flow.py
Class Name: FeedDictFlow
Method Name: stop
Project Name: hyperdashio/hyperdash-sdk-py
Commit Name: 0581eb8af29af3666687ec66e92ec80c8240546c
Time: 2017-09-13
Author: andrew.schreiber1@gmail.com
File Name: hyperdash/experiment.py
Class Name: Experiment
Method Name: __init__
Project Name: jrosebr1/imutils
Commit Name: 4021028ce8a137d603aa65b77881fc475627e34d
Time: 2016-01-09
Author: jrosebr1@umbc.edu
File Name: imutils/video/webcamvideostream.py
Class Name: WebcamVideoStream
Method Name: start
Project Name: autorope/donkeycar
Commit Name: dc1e00226e5420780c123745d7094511d476facb
Time: 2016-12-14
Author: wroscoe@gmail.com
File Name: cameras.py
Class Name: PiVideoStream
Method Name: start
Project Name: streamlit/streamlit
Commit Name: 654a0a9cdc1cbcb2e913f31aaf33a704a3a58e3b
Time: 2018-06-18
Author: armando@playground.global
File Name: lib/streamlit/Connection.py
Class Name: Connection
Method Name: register
Project Name: apache/incubator-tvm
Commit Name: f956c38cd73d000769c710165604a1b5297fd1a5
Time: 2020-10-31
Author: areusch@octoml.ai
File Name: python/tvm/micro/debugger.py
Class Name: GdbDebugger
Method Name: start