Files
mercury/extras/concurrency
Fergus Henderson f31054c46a Fix an obsolete comment: refer to *.par grades (e.g. hlc.gc.par)
Estimated hours taken: 0.1
Branches: main

extras/concurrency/spawn.m:
	Fix an obsolete comment: refer to *.par grades (e.g. hlc.gc.par)
	rather than just asm_fast.gc.par.
2003-07-25 06:08:13 +00:00
..
2003-02-28 15:20:20 +00:00
2003-02-28 14:45:44 +00:00

This directory contains stuff for doing coroutining with deterministic goals.
See the example programs:
	philo, philo2, philo3
		- several variants on the dining philosophers example.
		  philo uses a single semaphone for synchronization,
		  philo2 uses a single mvar,
		  while philo3 uses one semaphore per fork.
	midimon	- a midi data monitor that concurrently reads the bytestream,
		  parses the MIDI messages, and writes out the results.
		  A file `midi_data' has been included which contains some midi
		  data you can test the program with. MIDI (Musical Instrument
		  Digital Interface) is a hardware and software protocol for
		  electronic musical instruments (e.g. synthesizers) to talk to
		  each other.