WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-13-2006, 09:44 AM
pbeeson pbeeson is offline
Member
 
Join Date: Aug 2006
Posts: 31
Cleaning up viz.director calls

I use viz.director to basically spawn a thread to receive xmlrpc calls to remotely control my Vizard avatar. I started using viz.director for two reasons. 1) in Vizard 2.5 if I used python threads, the Vizard programming environment (Vizard.exe) would bomb out even though the scipt would still run. 2) When I closed the Viewpoint window, it would kill the viz.director calls, so I didn't have to CTRL-ALT-DELETE and kill winviz.exe (this would happen if I used traditional threads).

In version 3.0, closing the viewpoint window doesn't seem to kill the viz.director "threads" so I have to CTRL-C to also kill the output terminal window.
Reply With Quote
  #2  
Old 09-13-2006, 10:51 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
In general, you should make sure your threads are closed down properly on exit. You can handle viz.EXIT_EVENT to perform the thread clean up.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:50 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC