Commit Graph

26 Commits

Author SHA1 Message Date
WMOkiishi 0e1a3f2ab7
stdpy: Annotate threading functions (#1765) 2025-08-02 16:43:50 +02:00
WMOkiishi 32edfa43fd direct: Get direct to pass a mypy check
Closes #1476
2023-08-04 14:31:44 +02:00
rdb ab93d88f1b stdpy: Remove obsolete check for None function on module shutdown
This behaviour was removed in Python 3.4 so should no longer be an issue
2023-08-04 14:28:52 +02:00
WMOkiishi f7f3179a89 Move test code from across `direct` to proper test modules
Closes #1480
2023-08-02 08:37:51 +02:00
rdb 37b5c9ad9e direct: More code style changes 2023-02-22 11:52:19 +01:00
rdb 8b5fc7d835 stdpy: Switch from deprecated ConditionVarFull to ConditionVar 2022-02-22 15:21:32 +01:00
rdb cf60284ca9 Merge branch 'release/1.10.x' 2020-12-31 00:05:10 +01:00
rdb c141bef19b stdpy: Add missing threading.ThreadError 2020-12-30 23:57:27 +01:00
rdb b78b7be326 Merge branch 'release/1.10.x' 2019-12-30 01:50:54 +01:00
rdb 2f31c9ce68 stdpy: recognize daemon=True argument in Thread constructor 2019-12-28 23:46:58 +01:00
rdb c4a01ac564 pipeline: give Mutex and ReMutex more Pythonic semantics
This allows using mutices in with-blocks and wraps up the functionality of acquire() and try_acquire() into a single acquire(blocking=True).

Furthermore, the GIL is no longer released in cases of no contention.
2019-05-12 20:58:13 +02:00
rdb f813d2fb60 stdpy: fix broken threading.Event 2018-08-02 20:29:48 +02:00
Michael Wass b10ee32752 direct: Fix some more NameErrors
Closes #274
2018-03-08 11:44:04 +01:00
rdb 1f017997f9 stdpy: fix issues with direct.stdpy.threading thread cleanup
Fixes: #164
2017-08-30 13:00:02 +02:00
rdb 1dc02f6a28 stdpy: fix direct.stdpy.threading cleanup issue after thread runs
Fixes: #164
2017-08-27 16:56:16 +02:00
rdb 2d1f0e4866 stdpy: update threading modules 2017-08-27 16:53:41 +02:00
rdb 14af38712b Merge branch 'release/1.9.x' 2016-04-01 18:07:33 +02:00
rdb 35ef92f8da Fix AttributeError in setDaemon in threading module 2016-04-01 10:44:47 +02:00
rdb 23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +02:00
rdb 0d03207d1b Dramatically reduce size of frozen/compiled code by pruning/masking unnecessary imports/code 2016-02-12 22:20:27 +01:00
rdb 0aa0f34c74 Lots of work to make the rtdist work with the new library building system 2015-01-12 15:02:42 +01:00
David Rose 779d246bad oops, leftover typo 2009-12-12 18:15:30 +00:00
David Rose f582d8f950 add forceYield(), considerYield() at this level too 2009-11-18 15:20:48 +00:00
David Rose 854e5f345a fix some python errors 2009-04-03 21:30:38 +00:00
David Rose fcf157cdfc cleaner shutdown 2008-11-12 18:43:29 +00:00
David Rose c6320cc83a stdpy 2008-10-15 22:26:56 +00:00