The Artima Developer Community
Sponsored Link

Python Answers Forum
want to catch new thread event

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Evgeny V. Chesnokov

Posts: 1
Nickname: eae
Registered: Oct, 2004

want to catch new thread event Posted: Oct 7, 2004 3:19 AM
Reply to this message Reply
Advertisement
The problem is to set trace function for a thread creation event. There's a threading.settrace() function that does this thing, BUT it's said that it 'sets a trace function for all threads started from the "threading" module'.
Are there any ways to create thread other than from threading.Thread()? (ex. thread.start_new_thread())
If yes (as with thread.start_new_thread()), is it affected by threading.settrace() function? If it is NOT - are there any ways to catch this event?
Thank you :)

Topic: Python doesnt seem to work on my PC >:/ Previous Topic   Next Topic Topic: Problem calling a COM dll

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use