Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Jconnor threaded downloader #8

Merged
merged 6 commits into from Sep 3, 2013
Merged

Conversation

jlconnor
Copy link
Contributor

Removed feeder and reporter threads due to race conditions.

Replaced with simple thread-safe wrapper around request_list and thread-safe version for _fire_event_to_listener

changed worker queue to support iterable, iterators, and generators without having to "cast" to an interator with iter()
… with this queue and substituted it with thread-safe event firing and join()s on the worker threads
# done!
break
report_func(report)
queue.task_done()

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have an extra blank line here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are lines that were removed, not added

@mhrivnak
Copy link
Contributor

mhrivnak commented Sep 3, 2013

Just some minor things. Merge when done with those. Thanks!

@ghost ghost assigned jlconnor Sep 3, 2013
jlconnor added a commit that referenced this pull request Sep 3, 2013
@jlconnor jlconnor merged commit 8a342a5 into master Sep 3, 2013
@jlconnor jlconnor deleted the jconnor-threaded-downloader branch September 3, 2013 15:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants