Re: usmemalign equivalent in performer??

New Message Reply Date view Thread view Subject view Author view

Rémi Arnaud (remi++at++remi.engr.sgi.com)
Thu, 21 Aug 1997 18:34:01 -0700 (PDT)


Markus Haas wrote:
>
> Hello-
>
> I am working on an application that uses grio (guaranteed rate i/o) to load
> frames of real time video into a buffer for display. Grio requires direct i/o,
> which in turn requires a memaligned buffer. I would like to be able to split app
> off into its own process. This, of course, requires a shared memory arena.
>
> Does performer have a way to simulate usmemalign with a performer arena?
> (usmemalign + performer arena = crash)
>

 The easiest way is to alocate the size needed + the alignment, and return
 a pointer that is aligned, keeping the other pointer for further deletion

    _ / _ _
|_) _ ._ _ o /\ |_)|\ | /\ | || \
| \(/_| | || /--\| \| \|/--\|_||_/
                                           
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:46 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.