Alastair Reid writes:
>
...
>
> which (after a little more work) revealed that libthread.so defines
> a function called
>
> _flush_user_windows
>
> Then I made this change to storage.c
>
...
>
> Also, if anyone out there can send me any documentation for this function,
> I'd be most grateful. All I know about this function is that it has the
> right sort of name and that it makes one test work - but for all I know
> it really flushes pending requests to my X windows server which involves
> enough nested function calls (8 or more) that the register windows get
> flushed to the stack. It'd be nice to know for sure.
>
Have a look at the Sparc Linux sources, a little bit of grepping
revealed that kernel/windows.c contains an implementation of
flush_user_windows()
hth,
--Sigbjorn