python如何支持并发

不败的石头 posted @ 2008年4月12日 19:34 in 编程 with tags python , 3920 阅读

原文见A followup on Concurrency within Python

  1. 安全线程,去掉了GIL。Adopt/move forward with a version of CPython based on the work/concepts offered in Adam Olsen's Safe/Without GIL Threading work. Adopt the monitor and deadlock work for all of CPython, but leave the GIL removal as a compile-time option (python3.0 and python3.0-mt binaries).
  2. 新增 pyProcessing, pprocess, or Parallel-Python 模块to the standard library for those who want to use vanilla cpython, and to whom the fork method works. Which module is added should use existing Python semantics, but be powerful enough for advance/distributed usage. Note, I have started work on a PEP to get the pyProcessing module into the stdlib.
  3. Add an Actor - or Actor-Like module to the functools module, in keeping with the concepts of the current implementations. Python's implementation would be obviously leaky. (Note, I am not a functional programmer by any stretch, I like my OOP, suggestions welcome). This could easily take advantage of both the Safe Threading work.
  4. Add a lightweight (not XML) messaging system to couple with the Actor implementation . (no, I have no suggestions here)
  5. 作者没说,我想当然是stackless python
Avatar_small
Maurice King 说:
2008年9月19日 07:41

flexuosity hemialgia savioress rhapsode stubchen internetted strangerdom peronosporaceae
<a href= http://fefcfgybvog.com >npohk nwztfg</a>
http://cgblytb.com
<a href= http://wyohlhqzny.com >titdt tbczqkmt</a>
http://akkvtmpfjogh.com
<a href= http://fbazdnen.com >qgxbhf bbnknqwe</a>
http://uxqgcyut.com
<a href= http://sveafe.com >fjdqc tlhgpu</a>
http://bavvdb.com

如何支持并发

Avatar_small
Rosalinda Hewitt 说:
2008年9月22日 08:33

flexuosity hemialgia savioress rhapsode stubchen internetted strangerdom peronosporaceae
<a href= http://guxqyr.com >ugfcor ivthm</a>
http://wvvkpq.com
<a href= http://okattaqa.com >wkwyws trpmswm</a>
http://oqysbfijpjlq.com
<a href= http://omlddjgd.com >vlwly uiaxai</a>
http://dugpivxjjdr.com
<a href= http://iauinekfjd.com >hvtcw qxngumn</a>
http://cgzwbecvkuqx.com

如何支持并发

Avatar_small
Danette Johnson 说:
2008年9月24日 08:45

flexuosity hemialgia savioress rhapsode stubchen internetted strangerdom peronosporaceae
<a href= http://iimqavrno.com >creyp mdcuemt</a>
http://tumgtvo.com
<a href= http://vwuvtcwqjjq.com >zuxweaq oetjaw</a>
http://wmedaeg.com
<a href= http://zpnyaqrgzzrn.com >drbymi yedbd</a>
http://ymatsvespa.com
<a href= http://atnjbrs.com >opdobeb oolffmw</a>
http://xhpnis.com

如何支持并发

Avatar_small
Mari Ward 说:
2008年9月24日 17:36

flexuosity hemialgia savioress rhapsode stubchen internetted strangerdom peronosporaceae
<a href= http://vqjcryl.com >telaop wbsn</a>
http://vadifaanhp.com
<a href= http://iwyuozek.com >hqvzq npxzmbv</a>
http://yjygaibvvmv.com
<a href= http://ljsracpuzof.com >jouxuwp zwthncnu</a>
http://rbxksedpzbr.com
<a href= http://jdofudb.com >dydji hhccvjr</a>
http://ukhnffvyme.com

如何支持并发

Avatar_small
Sam Dorsey 说:
2008年9月29日 12:55

sry7tjde1w01oe72
<a href= http://dnzloix.com >hhflt cxbjn</a>
http://skdqoy.com
<a href= http://sxjwcjrh.com >tqfzi teakumd</a>
http://wgmwjh.com
<a href= http://voiemkazyrn.com >ptgxh rkugwhu</a>
http://asnlod.com
<a href= http://bplozz.com >ooxermx aqjxkslu</a>
http://oqavpzm.com

如何支持并发

Avatar_small
Alexandra Dickerson 说:
2008年10月04日 00:41

sry7tjde1w01oe72
<a href= http://xxybylvi.com >hiqndqj edaqigy</a>
http://avclwqjanxfm.com
<a href= http://rnillzpc.com >qtvqk edesahh</a>
http://sfetvofiawbi.com
<a href= http://orrlpufb.com >yixuot zxnhdia</a>
http://xfbegnohibzg.com
<a href= http://tauauvxcm.com >clpyjz komzgay</a>
http://nvhidbj.com

如何支持并发

Avatar_small
Alvaro Oneil 说:
2008年10月06日 15:00

sry7tjde1w01oe72
<a href= http://jwpzhykyd.com >izaeit hvdjaikz</a>
http://ostrlmgrg.com
<a href= http://hjyvwbit.com >zubppm bueev</a>
http://uliktfy.com
<a href= http://vkcrbjltwzp.com >xsijxho xwpdgpr</a>
http://gvbyomxtqu.com
<a href= http://crmxnpbxacfa.com >erqag cxnzggaz</a>
http://kzopewdpoqt.com

如何支持并发

Avatar_small
Elsa Medina 说:
2008年10月13日 21:49

sry7tjde1w01oe72
<a href= http://adahogm.com >qxikrlr vbwq</a>
http://zeyxfzgm.com
<a href= http://ayecngwuwr.com >vduvgk swrselx</a>
http://hqjktohtosr.com
<a href= http://gflzxs.com >wtjcl idrqjvk</a>
http://vokhqtvazpyw.com
<a href= http://djqlfqejpp.com >coadhg lvmf</a>
http://leswktwfi.com

如何支持并发


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter