Re: Tasks - communication

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...
DerekParnell said...

I like the D Programming Language's approach to this, namely that all data is assumed to be shared between tasks unless explicitly said otherwise.

Seconded.


Global broadcasts between tasks ate more cpu clocks than narrowcasting. It increased the msg queue for each task, and the overhead in tracking which msgs got delivered and could be deleted to free memory. Memory use sounds trivial until you consider the size of msgs that could have been sent from http.e, for instance.

So i provided for broad- and narrow- casting. You choose your best option for the app you are currently coding. Sue me.

useless

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu