Boost logo

Boost Users :

Subject: Re: [Boost-users] Can boost::interprocess be somehow used to implement Solaris door functionality ?
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2008-09-19 13:25:10


Kartik Mahajan wrote:
> Hi
>
> I have been using Solaris DOORS in my project which is now being ported
> to Linux. I am extremely sorry if this is not the place to post this
> thread but all I am asking is “ is there any boost library to make this
> thing possible “.
>
> I have downloaded boost 1.36 and there is this library called
> boost::interprocess . Can it in anyway be used to implement functioning
> similar to Solaris DOORS ?

It would be great to build something like DOORS above Interprocess, but
I think it's quite difficult to build something like DOORS without
kernel support, specially related to cleanup issues.

> Here is what I want to do:
>
> *Process 1 passes arguments to process to using a function say
> f1(arguments).. in Solaris it is called door_call. The function is
> executed in the process2 and then return values returned. When this
> happens, the process 1 returns*.

I think you would need to have a dedicated thread on a message queue or
similar, for each process, but I'm not really an expert on DOORS so this
could be too simple.

Regards,

Ion


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net