Function to decode distribution header

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Function to decode distribution header

Erik Pearson-2
git fetch git://github.com/rigtorp/otp.git ei_decode_msg

commit 01821ee1945370504d37edc72de8de84d2d40cd8
Author: Erik Rigtorp <erik>
Date:   Wed Mar 10 16:39:22 2010 +0100

    Add function to decode distribution header

    There is currently no way to use erl_interface with non-blocking
    sockets. This patch adds a function ei_decode_header() that can decode
    the distribution header of a message sent to a C-node. This will allow a
    C-node to receive messages using an asynchronous event loop.

Next step is to add a ei_send() function that would write to a supplied buffer.

Reply | Threaded
Open this post in threaded view
|

Function to decode distribution header

Björn Gustavsson-2
On Wed, Mar 10, 2010 at 4:57 PM, Erik Rigtorp <erik> wrote:
> git fetch git://github.com/rigtorp/otp.git ei_decode_msg

Thanks! Included in 'pu'.

--
Bj?rn Gustavsson, Erlang/OTP, Ericsson AB

Reply | Threaded
Open this post in threaded view
|

Function to decode distribution header

Erik Pearson-2
Please pull updated commit 864091a37030eac122b4029377c05985338586fb
that handles trace tokens properly.

2010/3/10 Bj?rn Gustavsson <bgustavsson>:

> On Wed, Mar 10, 2010 at 4:57 PM, Erik Rigtorp <erik> wrote:
>> git fetch git://github.com/rigtorp/otp.git ei_decode_msg
>
> Thanks! Included in 'pu'.
>
> --
> Bj?rn Gustavsson, Erlang/OTP, Ericsson AB
>
> ________________________________________________________________
> erlang-patches (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-patches-unsubscribe
>
>

Reply | Threaded
Open this post in threaded view
|

Function to decode distribution header

Björn Gustavsson-2
2010/3/11 Erik Rigtorp <erik>:
> Please pull updated commit 864091a37030eac122b4029377c05985338586fb
> that handles trace tokens properly.

Included in 'pu'.
--
Bj?rn Gustavsson, Erlang/OTP, Ericsson AB

Reply | Threaded
Open this post in threaded view
|

Function to decode distribution header

Erik Pearson-2
I take it from the lack of discussion that this is a good solution and
I will proceed and write documentation so this can be included in a
future release.

2010/3/12 Bj?rn Gustavsson <bgustavsson>:

> 2010/3/11 Erik Rigtorp <erik>:
>> Please pull updated commit 864091a37030eac122b4029377c05985338586fb
>> that handles trace tokens properly.
>
> Included in 'pu'.
> --
> Bj?rn Gustavsson, Erlang/OTP, Ericsson AB
>
> ________________________________________________________________
> erlang-patches (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-patches-unsubscribe
>
>

Reply | Threaded
Open this post in threaded view
|

Function to decode distribution header

Björn-Egil Dahlberg-3
In reply to this post by Erik Pearson-2
Hi Erik,

In order to be included in erl_interface this feature needs test cases
and documentation.

Regards,
Bj?rn-Egil
Erlang/OTP

Erik Rigtorp wrote:

> Please pull updated commit 864091a37030eac122b4029377c05985338586fb
> that handles trace tokens properly.
>
> 2010/3/10 Bj?rn Gustavsson <bgustavsson>:
>> On Wed, Mar 10, 2010 at 4:57 PM, Erik Rigtorp <erik> wrote:
>>> git fetch git://github.com/rigtorp/otp.git ei_decode_msg
>> Thanks! Included in 'pu'.
>>
>> --
>> Bj?rn Gustavsson, Erlang/OTP, Ericsson AB
>>
>> ________________________________________________________________
>> erlang-patches (at) erlang.org mailing list.
>> See http://www.erlang.org/faq.html
>> To unsubscribe; mailto:erlang-patches-unsubscribe
>>
>>
>
> ________________________________________________________________
> erlang-patches (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-patches-unsubscribe
>
>