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 / January 2006

Tip: Looking for answers? Try searching our database.

process communication

Thread view: 
Hugo - 14 Jan 2006 15:55 GMT
hi!

i have a question... its just an exercise, but an important one...
its about observer... so far it works... but now i have to move a car...
running down a road... and it should stop behind a line when the traffic
light is red... how can i realize that? i want a thread... that lets the car
go from right to left... and when the light is red... i want to tell the
thread...-> stop at the line... if it is green again... move again!

thx 4 help!

bye
Chris Smith - 14 Jan 2006 17:13 GMT
> hi!

Hi.  There's a really neat concept in English called "complete
sentences."  I can't understand much about what you want.  However, it
looks like you might want to look into Object.wait and Object.notifyAll.

Signature

www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation

Hugo - 14 Jan 2006 17:20 GMT
i am sorry about that.. but my motherlanguage is not english... maybe... i
should not ask... because my english is too weak...
notify and wait sounds pretty... i have never heard of it... i will have a
try!

thx

>> hi!
>
> Hi.  There's a really neat concept in English called "complete
> sentences."  I can't understand much about what you want.  However, it
> looks like you might want to look into Object.wait and Object.notifyAll.
Roedy Green - 14 Jan 2006 20:31 GMT
>i am sorry about that.. but my motherlanguage is not english... maybe... i
>should not ask... because my english is too weak...
>notify and wait sounds pretty... i have never heard of it... i will have a
>try!

It is not your English.  The problem is you have ask questions about
coding, not the real world.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.



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.