RESOLVED FIXED 53839
nrwt multiprocessing: remove obsolete WatchableThread class
https://bugs.webkit.org/show_bug.cgi?id=53839
Summary nrwt multiprocessing: remove obsolete WatchableThread class
Dirk Pranke
Reported 2011-02-04 20:08:41 PST
nrwt multiprocessing: remove obsolete WatchableThread class
Attachments
remove WatchableThread (4.92 KB, patch)
2011-02-04 20:10 PST, Dirk Pranke
ojan: review+
Dirk Pranke
Comment 1 2011-02-04 20:10:03 PST
Created attachment 81341 [details] remove WatchableThread
Eric Seidel (no email)
Comment 2 2011-02-05 01:17:59 PST
Comment on attachment 81341 [details] remove WatchableThread I'm not sure why inlining this class is better.
Dirk Pranke
Comment 3 2011-02-05 11:59:10 PST
fewer lines of code, less distractions. The test code that used the WatchableThread abstraction is gone, so readers might look at this code and be puzzled by why it doesn't seem to be used anywhere. And they'd be right. If you look at the next series of patches, my goal is to move all of the real logic into single_test_runner, leaving dump_render_tree_thread.py (and worker.py) with just the communications code.
Ojan Vafai
Comment 4 2011-02-06 14:49:38 PST
Comment on attachment 81341 [details] remove WatchableThread Less subclassing seems better if we don't get anything from the subclassing.
Dirk Pranke
Comment 5 2011-02-08 16:37:31 PST
Note You need to log in before you can comment on or make changes to this bug.