Multiples lines of execution

New Message Reply Date view Thread view Subject view Author view

Joaquin Casillas Melendez (jcasilla++at++glup.eleinf.uv.es)
Wed, 1 Oct 1997 10:59:39 -0700 (PDT)


Hello performers.

I need two different lines of execution in my pfapp in order to modify
a dcs at the same time I walk through the scene. The dcs movement is
caused by a keyboard event, and I don't want to query in the simulation
loop the status of the dcs each time. I want it to be event managed.

For this task, I'm using the libpthread library to start an additional
line of execution and do the dcs transformation when a certain key is
pressed. Sometimes it works fine, but usually it crashes (with a Kernel
Panic message and the machine going down!!!). I use Performer 2.1 in O2
platform.

I would appreciate any suggestion about this problem, if someone have used
threads in an application.

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Joaquin Casillas | email: jcasilla++at++glup.eleinf.uv.es _/
_/ ARTEC (LISITT) | Phone: +34 6 360 4484 Fax: +34 6 361 6198_/
_/ Dept. Electr. & Informat.| Address: Hugo de Moncada 4 _/
_/ University of Valencia | 46010 Valencia (SPAIN) _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

=======================================================================
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:56:03 PDT

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