.
D 2008-06-10T11:36:13
J icomment Logged\sIn:\sYES\s\nuser_id=75003\nOriginator:\sNO\n\nReading\sall\sthe\srelevant\scode\sI\sam\sgetting\san\sinkling\sof\sthe\sproblem.\sUsing\stf-6.1\sas\sexample:\n\nThe\scode\sopens\sthe\sfile,\spushes\sthe\stransform\son\sthe\schannel,\sand\sthen\smoves\sthis\schannel\sto\sa\ssecond\sthread\sB\svia\sthe\stestthread\scut/splice\scommands.\sIt\sthen\sruns\sthe\stest\sscript\sin\sthread\sB,\scaptures\sresults\sand\sdelivers\sthem.\sThread\sB\sis\sreaped/killed\svia\stcltest::threadReap.\sThis\suses\s-async\sthread::exit's\sto\skill\sthe\sthread.\sThe\scode\suses\s'after'\sdelays\sto\swait\sa\sbit\sfor\sthe\skill,\sbut\sotherwise\sis\snot\ssync.\sAs\ssuch\sI\scan\scurrently\snot\sexclude\sthat\swe\scome\sto\sthe\s'removeFile'\scommand\swhile\sthread\sB\sis\sstill\salive\sand\sholding\sthe\schannel\sopen.\n\nThe\sproper\sway\sof\sdoing\sthings\smight\sbe\sto\s'close\s$c'\sin\sthe\stest-script\sgiven\sto\sinthread.\sThe\sreturn\sfrom\sthat\sis\ssynchronized\svia\s'vwait',\sso\swe\scan\sbe\ssure\sthat\sthe\schannel\swould\sbe\sgone.\n\nI.e.\stry\sto\sadd\sthe\scommands\n\nclose\s$c\nset\snotes\n\nafter\sline\s1247\sof\sioTrans.test.\sClose\schannel\sand\smake\sthe\sreturned\sdata\sexplicit\s(was\simplicit\sin\sthe\sresult\sof\s'note'\sbefore).\n\nWait\s...\stf-6.2\sfails\sfor\syou\sas\swell,\sand\sI\ssee\sthat\sthis\sone\shas\san\sexplicit\s'close'\scommand\sin\sthe\sscript.\nThat\scounters\smy\stheory.\sditto\sall\sthe\sothers\sas\swell.\n\nOk,\sI\swill\shave\sto\scompile\sthis\son\sour\sXP\sbox.\sProblem\sis\sthat\sI\suse\sMSVC,\smingw\sis\sonly\sthe\sbash/make\senvironment.\s\nAlthough,\sif\sthat\sworks\swe\shave\sone\smre\snice\sdatapoint.\n\n
J login andreas_kupries
J mimetype text/plain
J username andreas_kupries
K 1988552fffffffffffffffffffffffffffffffff
U andreas_kupries
Z d3751bf45882bbecfb1e6126c63e8393