From: Rod Kay <rod.kay@aulace.com>
Subject: Re: Problem where a function is invoked once but called twice (when invocation is within an allocator).
Date: Sat, 7 May 2011 02:45:46 -0700 (PDT)
Date: 2011-05-07T02:45:46-07:00 [thread overview]
Message-ID: <3eddb466-7d7b-49b2-8c1e-16486459f824@34g2000pru.googlegroups.com> (raw)
In-Reply-To: 4dc50b7b$0$7665$9b4e6d93@newsspool1.arcor-online.net
On May 7, 7:06 pm, Georg Bauhaus <rm.dash-bauh...@futureapps.de>
wrote:
>
> First, I can confirm that on Mac OS X the assembly listing
> of tester shows three calls, too:
>
> $ grep _media__video__next_frame build/tester.s
> call _media__video__next_frame
> call _media__video__next_frame
> call _media__video__next_frame
> $
Thanks for the info.
> The following appears to be generating two calls only, FWIW:
>
> the_Movie : media.Video.view := media.Video.new_Video ("xyz.avi");
>
> Case_1 : openGL.Image := the_Movie.next_Frame;
> Workaround : openGL.Image renames The_Movie.Next_Frame;
> Case_2 : access openGL.Image := new opengl.Image' (Workaround);
>
Heh, this is indeed how I ended up tackling the problem in the real
source :).
next prev parent reply other threads:[~2011-05-07 9:45 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-05 3:52 Problem where a function is invoked once but called twice (when invocation is within an allocator) Rod Kay
2011-05-05 5:43 ` J-P. Rosen
2011-05-05 6:12 ` Rod Kay
2011-05-05 8:22 ` Yannick Duchêne (Hibou57)
2011-05-05 10:59 ` Rod Kay
2011-05-05 17:07 ` Florian Weimer
2011-05-06 0:49 ` Rod Kay
2011-05-06 23:41 ` Anh Vo
2011-05-07 1:38 ` Rod Kay
2011-05-07 9:06 ` Georg Bauhaus
2011-05-07 9:45 ` Rod Kay [this message]
2011-05-09 16:01 ` Anh Vo
2011-05-09 23:00 ` Dan
2011-05-10 0:14 ` Anh Vo
2011-05-10 0:24 ` Rod Kay
2011-05-10 0:55 ` Anh Vo
2011-05-11 17:23 ` Dan
2011-05-12 22:35 ` Rod Kay
2011-05-13 17:40 ` Ludovic Brenta
2011-05-10 0:21 ` Rod Kay
-- strict thread matches above, loose matches on Subject: below --
2011-05-14 0:27 Rod Kay
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox