Movatterモバイル変換


[0]ホーム

URL:


[Thread-SIG] Re: [Python-Dev] Re: marking shared-ness

Sean Jensen_Greyseanj@speakeasy.org
Fri, 21 Apr 2000 09:55:29 -0700 (PDT)


> > Since Python has nothing really private, this implies in> > fact to protect every single object for free threading,> > although nobody wants this in the first place to happen.>> How does Java solve this problem?  (Is this analagous to native vs. green> threads?)>> > Python is not designed for that. Why do you want to enforce> > the impossible, letting every object pay a high penalty> > to become completely thread-safe?>> Hmm, how about declaring only certain builtins as free-thread safe?  Or is> "the impossible" necessary because of the nature of incref/decref?http://www.javacats.com/US/articles/MultiThreading.htmlI would likesync foo:        bloc of code heremaybe we could merge in some Occam while were at it. B^)sync would be a most excellent operator in python.


[8]ページ先頭

©2009-2025 Movatter.jp