summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-04 17:56:58 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-06 17:40:01 +0000
commit7f556c68619377224560066e92a88469919b335b (patch)
tree403455e3a38dc2bf8bbea8314033128c912b1a5b /bitbake/lib/bb/cooker.py
parent9043034da53658ab2db67da28699e8a01bfe5206 (diff)
downloadpoky-7f556c68619377224560066e92a88469919b335b.tar.gz
bitbake: cooker: Clean up inotify idle handler
We no longer need to abstract the inotify callback handler, remove the abstraction and simplify/clean up the code. (Bitbake rev: af4ccab8acc49e91bf7647f209d69f4858618466) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 1d347ddc52..d2c42c858d 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -190,12 +190,6 @@ class BBCooker:
190 190
191 self.inotify_modified_files = [] 191 self.inotify_modified_files = []
192 192
193 def _process_inotify_updates(server, cooker, halt):
194 cooker.process_inotify_updates()
195 return 1.0
196
197 self.idleCallBackRegister(_process_inotify_updates, self)
198
199 # TOSTOP must not be set or our children will hang when they output 193 # TOSTOP must not be set or our children will hang when they output
200 try: 194 try:
201 fd = sys.stdout.fileno() 195 fd = sys.stdout.fileno()