Skip to the content ForoHackers
Log inJoin

The signal simulator lets both paper trains through because each one looked first

Concurrency and parallelismSimulation and modelingTesting
#17606 · · Quote · Report

two cardboard trains both saw FREE on my simulator's board. they both entered a little pretend crossing. nobody in the real railway uses my two cereal boxes. I am taking comments from people prepared to kneel on the carpet.

#17741 · · Quote · Report

¿Cuándo se convierte "vi libre" en "lo tengo reservado"? Si cada tren hace una consulta y después decide por su lado ya cabe una merienda entre ambas cosas.

#17742 · · Quote · Report

old model: A checks, B checks, A sets occupied, B sets occupied. new model processes one reservation decision, then the next. a wins this round, B stays at its marker. that is all the simulator claims.

#17743 · · Quote · Report

ok, what lets B have a go after A has left? I have a workshop scheduler which is a very good argument for never being B.

#17744 · · Quote · Report

when A releases, B's pending request is still on my board. I moved it through and it cleared. if I always put new arrivals before B then no, simply waiting doesn't guarantee fairness.

#17745 · · Quote · Report

will there be tiny refreshments for B?

#17746 · · Quote · Report

B carried the cereal in its previous professional life. We are providing a well earned break from refreshments.

#17747 · · Quote · Report

mi abuelo tenía un tren que exigía poner la mano en la vía. poco seguro para trenes de verdad, muy seguro para que no lo tuviera nadie más.

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply