[Seaside] thread-safety

Tim Rowledge tim at sumeru.stanford.edu
Wed Dec 31 02:18:25 CET 2003


radoslav hodnicak <rh at 4096.sk> wrote:

> I don't mind having lots of smalltalk processes spawned but as far as I
> know there is no guarantee that if process A with priority 30 is running
> and gets preempted by higher-priority process H then, after H goes to
> sleep, A is resumed again and not some other process with the same
> priority 30. Thus I can't rely on the fact that concurrent requests will
> be handled serially.
It's pretty much guaranteed the opposite way. A suspended process is
placed at the back of the queue at that priority. If there are multiple
processes at any priority level they will be handled in a round-robin
fashion.

tim
--
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Strange OpCodes: SFA: Seek Financial Assistance


More information about the Seaside mailing list