diff options
| author | Adam Hupp <adam@hupp.org> | 2015-10-19 11:07:17 -0700 |
|---|---|---|
| committer | Adam Hupp <adam@hupp.org> | 2015-10-19 11:08:18 -0700 |
| commit | 8a35137cdd4b0aa42291e2ce4ad276e47d731cc5 (patch) | |
| tree | 5887c8c7cc7fe9d7ec4bd55a6b0ae7b7d5103b26 /setup.py | |
| parent | 569467026d286667803a1a83195dd4d6c3aa5787 (diff) | |
| download | python-magic-8a35137cdd4b0aa42291e2ce4ad276e47d731cc5.tar.gz | |
Replace per-thread Magic instance with a lock. Tested with a stress
stest that runs a 100 from_file checks on a 100 threads, concurrently.
This almost immediately causes a SEVG without the lock, and runs
successfully with the lock.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions
