{ "info": { "author": "Dan Kenigsberg", "author_email": "danken@redhat.com", "bugtrack_url": null, "classifiers": [], "description": "Reimplement threading.Lock, RLock and Condition with libpthread\n\nThe pthreading module provides Lock and Condition synchronization\nobjects compatible with Python native threading module.\nThe implementation, however, is based on POSIX thread library as delivered\nby the libpthread. Lock and Condition are designed to be a drop-in\nreplacement for their respective threading counterpart.\n\nTake a look at threading.py of Python 2. Notice that Event.wait() wakes 20\ntimes a second and checks if the event has been set. This CPU hogging has been\nfixed in Python 3, but is not expected to change during Python 2 lifetime.\n\nTo avoid this waste of resources, put in your main module::\n\n import pthreading\n pthreading monkey_patch()\n\nThis would hack the Linux-native threading module, and make it use Linux-native\nPOSIX synchronization objects.\n\nThe pthreading code was originally written as part of\n`Vdsm `_ by Cyril Plisko, Saggi Mizrahi and\nothers. For questions, comments and patches please contact `vdsm-devel\n`_.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://git.fedorahosted.org/git/?p=pthreading.git", "keywords": null, "license": "GPLv2+", "maintainer": null, "maintainer_email": null, "name": "pthreading", "package_url": "https://pypi.org/project/pthreading/", "platform": "Linux", "project_url": "https://pypi.org/project/pthreading/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://git.fedorahosted.org/git/?p=pthreading.git" }, "release_url": "https://pypi.org/project/pthreading/0.1.3-3/", "requires_dist": null, "requires_python": null, "summary": "Reimplement threading.Lock, RLock and Condition with libpthread", "version": "0.1.3-3" }, "last_serial": 1172598, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d8d958dd32a9fc76fe0d143bcd64174a", "sha256": "c503ae158fc035b8fee0c2409bdf7b4f40bb2ddf644ae1a39a0548c3d020cf00" }, "downloads": -1, "filename": "pthreading-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d8d958dd32a9fc76fe0d143bcd64174a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3190, "upload_time": "2012-07-27T09:25:55", "url": "https://files.pythonhosted.org/packages/c0/0c/649aee3eb4c9da53983f20d58682103d13ebdf9a3cf2f3273727803e20c3/pthreading-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4ba7f5d60b0595ec82192746295bd5b0", "sha256": "e857ea323c67ef1a2346d10c3fbfe706c528b7303f65ac1fc9500e289a49cc77" }, "downloads": -1, "filename": "pthreading-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4ba7f5d60b0595ec82192746295bd5b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3449, "upload_time": "2012-08-15T09:41:51", "url": "https://files.pythonhosted.org/packages/b4/d3/d606ae1fe3bec956cbbe2a0b1ef0b96e468702a220c227789395fbf539eb/pthreading-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "f061c9483542c6add44b5d495501c204", "sha256": "a8413bcc7f33ec9d31214ee695c40d8c9f058f0554c73879bb49a6b142dc0634" }, "downloads": -1, "filename": "pthreading-0.1.2.tar.gz", "has_sig": false, "md5_digest": "f061c9483542c6add44b5d495501c204", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3576, "upload_time": "2013-06-04T15:52:56", "url": "https://files.pythonhosted.org/packages/da/4f/e9a0e7c3fe4212b2f1dca88d7054d2b735e5a60683c68a25288eead036eb/pthreading-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "515f3a9a1426c5fcb3a994354ed8955a", "sha256": "4794617549b32e91a81135bba424c19eee5477b1987ba5f0e238607567890c55" }, "downloads": -1, "filename": "pthreading-0.1.3.tar.gz", "has_sig": false, "md5_digest": "515f3a9a1426c5fcb3a994354ed8955a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3600, "upload_time": "2014-03-05T11:26:15", "url": "https://files.pythonhosted.org/packages/7e/29/55e6dcd37f20ad49ae2376d02c51d3f269838eaf9038d0f50e6a171bf7dd/pthreading-0.1.3.tar.gz" } ], "0.1.3-3": [ { "comment_text": "", "digests": { "md5": "77d406bf035abf838e202a46a1832f87", "sha256": "a3d0d6b7c633455c364196aefc007e1178569019152444c5a1a79917bb7fd4b4" }, "downloads": -1, "filename": "pthreading-0.1.3-3.tar.gz", "has_sig": false, "md5_digest": "77d406bf035abf838e202a46a1832f87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3688, "upload_time": "2014-07-29T06:07:37", "url": "https://files.pythonhosted.org/packages/6f/07/76fb656248635abb48d158fb37a843840e0187fe46e528b51187ace9a06a/pthreading-0.1.3-3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "77d406bf035abf838e202a46a1832f87", "sha256": "a3d0d6b7c633455c364196aefc007e1178569019152444c5a1a79917bb7fd4b4" }, "downloads": -1, "filename": "pthreading-0.1.3-3.tar.gz", "has_sig": false, "md5_digest": "77d406bf035abf838e202a46a1832f87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3688, "upload_time": "2014-07-29T06:07:37", "url": "https://files.pythonhosted.org/packages/6f/07/76fb656248635abb48d158fb37a843840e0187fe46e528b51187ace9a06a/pthreading-0.1.3-3.tar.gz" } ] }