Re: [Python-Dev] tiny optimization in ceval mainloop
by Greg Ewing other posts by this author
Aug 30 2002 1:23AM messages near this date
Re: [Python-Dev] tiny optimization in ceval mainloop
|
Re: [Python-Dev] tiny optimization in ceval mainloop
> > Would it be kosher to just drop the ticker to 0 whenever
> > things_to_do is set to true?
>
> I think not -- Py_AddPendingCall() is supposed to be called from
> interrupts and other low-level stuff, where you don't know whose
> thread state you would get.
Could you have just one ticker, instead of one
per thread?
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg@[...].nz +--------------------------------------+
_______________________________________________
Python-Dev mailing list
Python-Dev@[...].org
http://mail.python.org/mailman/listinfo/python-dev
Thread:
Jeremy Hylton
Guido van Rossum
Greg Ewing
Skip Montanaro
Steve Holden
Steve Holden
Jeremy Hylton
Jack Jansen
Tim Peters
Guido van Rossum
Skip Montanaro
Tim Peters
Jack Jansen
Tim Peters
Jack Jansen
Guido van Rossum
Tim Peters
Skip Montanaro
Skip Montanaro
Guido van Rossum
Skip Montanaro
Guido van Rossum
Jeremy Hylton
Guido van Rossum
Tim Peters
|