I have just added svc_multi_swrite to the RTL.

This service call is used to write data to ALL the
readers hanging on a channel, that is, it's a 
broadcast or multicast operation. All the readers are scheduled
before the writer. All the readers *share* the data so should
not modify it.

Unlike ordinary write, a multi write never blocks. If there
are no readers, the message is simply lost.

Mulitiwrite can be used to reawaken a bunch of fibres
that have suspended, in particular it is perfectly suited
to clocking an arbitrary collection of "chips".

To organise a real time system, each fibre just reads
a clock schannel with a period suited to what it is doing.
A master clock chip can then dispatch time ticks by
demultiplexing a suitable hi frequency clock.

Another way to look at this operation is a control fork.
The write sends control out to multiple readers.


--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to