Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2005

Tip: Looking for answers? Try searching our database.

Thread related question - PLEASE HELP...

Thread view: 
cpptutor2000@yahoo.com - 23 Oct 2005 06:02 GMT
Could some Java guru help me please? What I am really interested in is
the following:
How would it be possible to capture inside the user program that a
'notify'
or 'notifyAll' has been called? Currently, these are used to wake up
thread(s)
in the object's queue of waiting threads, but is there a way to capture
this
information from inside the user's porgram?
hiwa - 23 Oct 2005 10:25 GMT
Are you aware of that you haven't described your
application level requirement, yet?
John C. Bollinger - 28 Oct 2005 04:09 GMT
> Could some Java guru help me please?

Only if one can figure out what it is you are asking.

>                                       What I am really interested in is
> the following:
> How would it be possible to capture inside the user program that a
> 'notify'
> or 'notifyAll' has been called? Currently, these are used to wake up
> thread(s)

"Currently"?  If you have some idea about changing that behavior then
you are not likely to get anywhere.

> in the object's queue of waiting threads, but is there a way to capture
> this
> information from inside the user's porgram?

What is invoking these methods if it is _not_ the user's program?  If it
is the user's program, then why can you not insert appropriate logging /
notification directly before each notify() / notifyAll()?  And as hiwa
asked, what is it that you hope to achieve by doing what you ask?

Signature

John Bollinger
jobollin@indiana.edu



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.