Re: nanosleep & sginap

New Message Reply Date view Thread view Subject view Author view

Phil Keslin (philk++at++cthulhu.engr.sgi.com)
Tue, 06 Apr 1999 12:01:05 -0700


george williams wrote:
>
> Performers,
>
> Please steer me toward the truer path of things.
>
> Suppose I want to set a system "alarm" in the draw process which
> might possibly interrupt pfDraw(). If I don't let pfDraw() continue
> to finish, I will likely place Performer in an inconsistent state.
>
> I don't suppose it would be trivial to fix that "state" or reset it,
> without having pfDraw() finish?

Whether or not Performer is affected is a function of the actions taken
in your signal handler. If you do something as innocuous as adding some
event to a queue (ensuring that access to this queue is protected from
signals) then you probably won't have a problem. If, however, you make
calls into Performer from within the signal handler, you will most
likely encounter problems.

- Phil

-- 
Phil Keslin <philk++at++engr.sgi.com>

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Apr 06 1999 - 12:01:12 PDT

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