Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting thread info from sub-threads.




On Aug 21, 2006, at 3:33 PM, bsd5tu1 wrote:

I think not...but I could be wrong....maybe it's a matter of terminology.

It's confusing to me at times too. But generally in a Swing application there is main thread different from the launch/main one.



One guy told me that there's no guarantee that all threads in a particular group may be reported. Is there truth to that???


That doesn't seem right but you might want to take a look at this. It's what I messed with for this at one point.


http://www.oreilly.com/catalog/javanut/examples/section9/ ThreadLister.java

I took the invokeLater() out of the code and it STILL isn't showing up in the list of threads. I also tried it on Linux and had the same results, so I must assume it's something I'm doing.

I thought before it was invokeAndWait()? This is still sounding like SwingUtilities, the javadoc might be worth a look,

http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/SwingUtilities.html

What exactly is it that you are doing that you think is creating a new thread?


Mike Hall mikehall at spacestar dot net http://www.spacestar.net/users/mikehall http://sourceforge.net/projects/macnative



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Getting thread info from sub-threads. (From: bsd5tu1 <email@hidden>)
 >Re: Getting thread info from sub-threads. (From: Michael Hall <email@hidden>)
 >Re: Getting thread info from sub-threads. (From: bsd5tu1 <email@hidden>)
 >Re: Getting thread info from sub-threads. (From: Michael Hall <email@hidden>)
 >Re: Getting thread info from sub-threads. (From: bsd5tu1 <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.