Re: interprocess communciation



most commonly used (in my opinion) are :
- mutex : used to synchronize 2 threads/process
- critical section : lighter than mutex but can only be used for 2 threads
of the same process
- message queue : synchronization and information exchange between 2
processes /threads
- mapfile : allow exchanging lots of data netween 2 processes
- events : synchronization between 2 processes/threads. Widely used at
application level

This is not exhaustive

Hope this helps

--
----------------------------------------------------------------
Anthony Pellerin
ADENEO (ADESET)
Windows Embedded Consultant
<apellerin AT adeneo DOT adetelgroup DOT com>
http://www.adeneo.adetelgroup.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------


"sonu" <sonuthomas@xxxxxxxxx> wrote in message
news:1119865208.157737.33180@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
> the documentation is vaguely telling about the various interprocess
> synchronisation mechanisms in windows ce.
> Do we have any mechanisms other than the following
> 1) Memory mapped files
> using api's like createfilemap
> 2) Message Queuing
> it again have 2 flavours
> a) using sendmessage and getmessage
> b) WM_COPYDATA
> 3) Mailslots
> i have read the complete documentation about the above two and a lot
> of articles also.
> i heard that we have various other mechanisms from the article
> http://support.microsoft.com/kb/q95900/ which just mentions
> about named pipes ,OLE,windows socket,RPC,NETBIOS,DDE.
> can anyone tell me how the above mechanisms can be used or any
> articles describing about them.
> It would be really appreciated if any fruitful reply comes.
>
>
> Thanking you,
>
> with regards
> Sonu Thomas
>


.



Relevant Pages

  • Re: New essay: The Best Synchronization is No Synchronization
    ... synchronization). ... We should be searching for higher-level mechanisms. ... Positive Handoff Protocol and the Central Controller Protocol, both of which are easier to ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)
  • New essay: The Best Synchronization is No Synchronization
    ... In response to an earlier post saying that messages should not be used for synchronization ... and that primitives like mutexes, events, and semaphores were better suited, (note also ... We should be searching for higher-level mechanisms. ...
    (microsoft.public.vc.mfc)
  • Re: networking code and splx()
    ... Synchronization is now done using other mechanisms such as mutexes and ... spin locks. ...
    (freebsd-net)
  • Re: networking code and splx()
    ... simply not used in this context? ... Synchronization is now done using other mechanisms such as mutexes and ... spin locks. ...
    (freebsd-net)