Skip to content
Tcl Source Code Artifact [56c0e4bb99]
Login

Artifact [56c0e4bb99]

Artifact 56c0e4bb99f0bb957acc177064f08d9ac2f6615d:

Ticket change [56c0e4bb99] - Ticket [659131ffffffffff|659131ffff] <i>development targets: Complete pthreads?</i> status still Open with 4 other changes by vasiljevic on 2003-11-20 02:37:57.
D 2003-11-20T02:37:57
J icomment Logged\sIn:\sYES\s\nuser_id=95086\n\nOK.\sThe\sreader/writer\slocks\sare\sreally\spiece\s\s\nof\scake.\sI\sdo\snot\sgeneraly\sthink\sthose\sare\sgood\sidea\s\nfor\smany\sreasons\s(starvation\sof\sthreads)\sbut\shere/there\s\nthey\smight\sbe\sok.\s\nYes,\sthread\spools\sare\sa\sgreat\svehicle\sfor\sbuilding\s\ncomplex\sserver\ssuff\sthings\sin\sTcl\salone.\s\n\s\nFor\sWin\sthreads:\sthere\sare\splaces,\sfor\sexample,\swhere\s\nyou\scan\simpersonate\sa\sthread\sfor\sa\sspecific\suser.\s\nThis\sis\scrucial\sfor\sMT-servers\s(fileservers\sfor\sexample)\s\nto\senforce\sprotection\sschemes.\sPosix\sdoes\snot\sallow\s\nfor\sthis.\s\nBut\sI\swould\snot\slike\sto\smake\sthis\sa\stwo-person\sflame.\s\nI\sdo\snot\sprogram\son\sWin.\sI\seven\sdont\slike\sit.\sI\sjust\s\nmiss\ssome\sthings\sfrom\sPosix\sand\sI\sfind\sthem\sin\sWin\sapi.\s\n\s\nFor\sshared\stcl\sobjects\sI\smean\sthe\sshared\sTcl_Obj.\s\nI\swent\sa\slong\sway\sto\smake\sit\ssomehow\s"shared"\sin\s\ntsv,\sbut\sthis\sis\sonly\sa\spoor\saproximation,\snot\sreally\s\nthe\s"right\sthing".\s\n\s\nNumerous\sother\splans?\sWell...\sdo\stsv\smonitors\s\n(aka\straces)\sso\speople\scan\sbuild\sup\ssimple\snotification\s\nsystem\swhen\sa\stsv\svariable\schanges.\s\nThen,\sadd\sshared-memory\spersistence\sto\stsv,\sso\speople\scan\s\nshare\sdata\sin\sacross\sprocesses\sas\sthey\scan\sdo\sacross\s\nthreads.\s\nThen,\sabstract\sthreads/processes\sunder\sone\sclean\ssimple\s\nAPI\sso\syou\scan\screate\spools\sof\sprocesses\sor\sthreads\sor\s\ncombined\s(this\scan\sbe\sa\svery\spowerful\sthingy)\sout\sof\sTcl.\s\n\s\nWell,\sthis\sis\senough\sfor\sthe\smoment,\sright?\s:)\s\nIf\syou\shave\ssome\smore\sideas\sin\sthat\sdirection\s\n(simple,\seasy\sto\sunderstand/use\sbut\spowerful)\s\nplease\sstep-out\swith\sthem.\sI\sdo\snot\sthink\sthat\s\nimplementing\sTcl\sAPI\sfor\ssemaphores\swill\smake\s\npeoples\slife\seasier\s;)\s\n\s\n\s\n
J login vasiljevic
J mimetype text/plain
J username vasiljevic
K 659131ffffffffffffffffffffffffffffffffff
U vasiljevic
Z 762bf9f74dfbfb98acafb27e5b627720