Message75535
As far as I know, the above code will fail randomly in release mode if
you have multiple threads running Python, because when ctypes calls out
to CFUNCTYPE functions, it releases the GIL.
For decorating a python function to give to qsort, maybe you can use
PYFUNCTYPE? |
|
Date |
User |
Action |
Args |
2008-11-05 23:12:11 | kevinwatters | set | recipients:
+ kevinwatters, georg.brandl, LambertDW |
2008-11-05 23:12:11 | kevinwatters | set | messageid: <1225926731.76.0.649556386111.issue4260@psf.upfronthosting.co.za> |
2008-11-05 23:12:11 | kevinwatters | link | issue4260 messages |
2008-11-05 23:12:10 | kevinwatters | create | |
|