Re:Python Concurrency Decorators
by lqdc13 on Thursday May 12, 2016 @09:36PM
(#11688067)
A lot of these need to be updated. For one, they don't follow PEP8.
Secondly, unfortunately, the signal thing doesn't work on Windows and the threading thing is a bad example because it simulates multiplication, but if you actually had a CPU intensive task, there would be no performance benefits.
Secondly, unfortunately, the signal thing doesn't work on Windows and the threading thing is a bad example because it simulates multiplication, but if you actually had a CPU intensive task, there would be no performance benefits.