[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] Hvordan ? Et program skal sende beskeder til N andre.



> Även om det skall göras i c/c++ är det ett enkelt, säkert,och snabbt
> förfarande
Jeg kan huske, at vi havde en tråd, hvor jeg lavede et eksempel på brug af message
queues i C/C++. Problemet med message queues er dog så vidt jeg har forstået det, at
en message bliver fjernet fra køen ved læsning (Gælder vist både for SysV og POSIX
realtidskøer). Dvs. vil man sende en message til N processer, så skal man sende selve
beskeden N gange. Det er jo i orden, hvis

N * E(len(besked)) * E(antal beskeder/tidsenhed) = E(bandbredde)

ikke er for stor. Til simpel signalering kan det godt bruges. Til udvæksling
af datapakker - måske.

Hans-Christian Stadler

PS: Ok, i formlen skal len(besked) vist være statistisk uafhængig af
antal beskeder/tidsenhed for at man kan regne expected bandbredde ud
på den måde.



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:44 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *