.
D 2009-07-24T07:42:41
J assignee andreas_kupries
J cmimetype text/plain
J comment I\swould\slike\sa\s[chan\srename\s$oldname\s$newname]\scommand,\swhich\srenamed\sa\schannel.\n\nThis\swould\sbe\suseful\sto\savoid\sbugs\s(admittedly,\scaused\sby\sother\sbugs)\swhere\san\sopen\schannel\sname\sis\sstored\sin\sone\sdata\sstructure,\sperhaps\sin\sa\scoro,\sthread\sor\sinterp,\sand\sthe\schannel\sis\sclosed\sbefore\sthe\schannel\sname\scan\sbe\sremoved\sfrom\sthose\sdata\sstructures.\s\sThe\scurrent\seffect\sof\ssuch\suncoordinated\sstorage\sis\sthat\seither\sa\sdelay\sin\sclosing\sthe\schannel\smust\sbe\ssuffered\swhile\sall\scopies\sof\sthe\sname\sare\supdated,\sor\sthat\sa\sstale\schan\sname\sis\sheld\ssomewhere,\sand\scauses\sa\snew\schan\s(usually\sa\ssocket)\swith\sthe\ssame\sname\sas\sthe\sold\s(and\snow\sclosed)\schan\sto\sbe\smanipulated\sin\serror.\n\nThis\sproblem\sarises,\sessentially,\sbecause\stcl\sreuses\schan\snames\sfrequently,\sand\schooses\sthem\sfrom\sa\svery\scompact\sset.\n\nBy\senabling\sarbitrarily\snamed\schans,\sat\sconstruction\stime,\schan\sname\sconflict\scould\sbe\scompletely\savoided\sby\san\sapplication.\s\sAs\sa\sstopgap,\ssynthetic\schannels\scan\sbe\sconstructed\swith\sunique\snames,\sbut\sthis\sis\san\sextra\slevel\sof\sindirection.\n
J foundin None
J is_private 0
J priority 7\sHigh
J resolution None
J status Open
J submitter coldstore
J subsystem
J title Ability\sto\srename\schans
J type Bug
K 2826430fffffffffffffffffffffffffffffffff
U coldstore
Z bfbcc42c0d3f770690c4bbc8366e9f7a