On Wed, Mar 17, 2010 at 11:53 PM, Nathan Stewart <swarf...@gmail.com> wrote:

> In the second example... I know that the python function "OnEvent_TypeB"
> hasn't been created.  I don't get why it blows up in get_override rather
> than fails.  The other examples I've found indicate that I should be able to
> use that mechanism to provide access to the base class virtual functions
> which do have bodies. In fact, I'm running into this problem with my
> ConnectionWrap class, not something derived from it. Does the override need
> to exist, and if so, how can I accomplish this goal (of only overriding
> behavior I want to implement)?
>
>
On further exploration, I'm wondering if this is not a threading issue
rather than a virtual function override issue, given that my example is a
callback system, however my base Connection class has it's own locking that
prevents publish and onEvent from being run at the same time.
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to