Vaci

Results 5 comments of Vaci

I was hoping that, given interface: `interface Foo(X) {} ` then the Python implementation `class MyFoo(Foo): pass ` would be sufficient to act as a capability of type Foo(AnyPointer). I...

Here's a short test program to demonstrate what I'm seeing: ``` import capnp import sys import tempfile with tempfile.NamedTemporaryFile() as tmp: tmp.write(''' @0x89a3d41c2e94cac8; interface Foo(Y) {} interface Bar { func...

In your example, the content of the message is owned by the capnp::PackedMessageReader. That object is destroyed when returning from the function get_reader, so the Reader you have returned is...

My workaround for this issue is to export the private reference counting API: ``` extern "C" { int64_t aeron_image_decr_refcnt(aeron_image_t*); } void myCleanupCode() { ... aeron_image_decr_refcnt(image); } ```

As an aside, it would also help to clarify the comment on `aeron_subscription_image_retain` and `aeron_subscription_image_release` that states: _"Note: Subscriptions are not threadsafe and should not be shared between subscribers."_ It...