[Numpy-discussion] Optionally using Numeric in another compiledextension package.

peter.chang at nottingham.ac.uk peter.chang at nottingham.ac.uk
Thu Jan 16 11:22:03 CST 2003


On Thu, 16 Jan 2003, Chris Barker wrote:

> peter.chang at nottingham.ac.uk wrote:
> 
> > You can synchronise the output buffer using XSync(3) and then do the
> > timing.

Oops, that should be XSynchronize(3).

[...]

> I suppose I could try including Xlib, then calling XSync, but I need to
> pass a reference to a disply. I have not idea how to get that. 
> 
> Any hints?

wxGetDisplayName() gives the Display name but not a pointer to the display 
structure. So this is not much help.

In gtk+, any program can be called with --sync to aid debugging. I'd guess 
wxWindows may allow you to do the same.

Peter





More information about the Numpy-discussion mailing list