.
D 2011-09-20T02:10:48
J assignee andreas_kupries
J icomment \n\nallow_comments\s-\s0\n\nAndreas,\sthanks\sfor\saddressing\smy\spoints.\sI\sdon't\swant\sto\sappear\sas\sfighting\syour\sideas.\sIt's\ssimply\sthat\syou\sare\smuch\smore\scourageous\sthan\sI\sam\s:D.\sLet\sme\sjust\sanswer\sa\sfew\sof\syour\sarguments\sfrom\sthe\slazy\sman's\sstandpoint:\n\n>\s[use\scase\sfor\sinterthread\scomm]\n\nStill\sdoable\swith\splain,\sdocumented\s\s[thread::send]\sinstead\sof\sits\shidden\sersatz\sinside\sIORchan,\sright\s?\n\n>\s[orthogonality,\schannel\stype\sagnosticism]\n\nOkay\sbut\s"<@"\salready\sexposes\sthe\sspecial\snature\sof\srefchans\s(and\schannel\stransforms,\sfor\sthat\smatter).\sAlso,\swhile\ssome\scases\sof\schannel\stransfer\scome\sto\smind\s(like\sthe\sclient\ssocket\sin\sa\snetwork\sserver),\sI\sreally\scan't\simagine\sa\smodular\sapp\signoring\sthe\skind\sof\schannel\sthat\sit's\stransferring\s...\sand\syet\saccepting\sthe\stwo\speculiar\sconsequences\sof\stransferring\san\sRC:\s(a)\sthat\sthe\smother\sthread\sstays\sin\sevloop,\sand\s(b)\sthat\seach\sand\severy\schannel\smethod\sincurs\sa\sround\strip\sto\sthis\smother\sthread.\sHardly\stransparent,\sI'd\ssay\s:}\n\n\n>\sIOW.\sthe\scomplexity\sand\sspecial\scasing\sis\snot\sreally\sgoing\saway,\sonly\n>\ssimply\sshifted\saround\sand\schanging\sits\snature\sa\sbit\s(setup\swith\syours\svs.\n>\sall\sthe\sinternal\stransfer\smgmt\swith\smine).\n\nYes.\sThe\skey\sword\shere\sis\s"changing\sits\snature":\sthe\sburden\sof\ssetup\sis\sentirely\sin\sscript\sland\s!\nThis\smeans\sthat\sany\scomplex\sinteractions\sare\semergent\sproperties\sof\sthe\sexisting\sprimitives,\swhich\sare\scovered\sin\sdozens\sof\satomic\stests,\shence\smuch\seasier\sto\sdebug\s:\sthread::send,\svwait,\schan\screate,\setc.\n\nMoreover,\sthis\sburden\sseems\smuch\slighter\sto\sme.\sIndeed,\sinstead\sof\semulating\sthe\sinterthread\sforwarding\sof\srefchan\smethods,\sone\sis\smore\slikely\sto\sjust\simplement\sthem\sin\sthe\sother\sthread,\son\stop\sof\swhatever\strue\schannel\swas\stransferred\sbeforehand.\sNot\smuch\scomplexity\sindeed.\n\nBut\sI\sguess\sit's\sway\stoo\slate\sanyway.\sLet's\shope\sfew\sdeadlocks\sand\srace\sconditions\sstill\sexist\sin\sthere\s;-)\n
J login ferrieux
J mimetype text/plain
J resolution None
J status Open
J username ferrieux
K 3408824fffffffffffffffffffffffffffffffff
U ferrieux
Z 719dd09fa12fef9c5dae13d64054c3ad