Re: Threads in java



On 13.10.2006 11:07, abhishekG wrote:
hi
I am facing problem in Threads in java. I have studied threads and know
the theory of it. But I just cant get started. It would be great if I
can get some sample codes showing the use of wait(), notify(), sleep()
. The code should have a number of threads (say 2-3) and each thread is
running.

Did you browse through the tutorial? AFAIK there are some examples in [1]. Also, you can look at the source code of java.util.concurrent.*.

Kind regards

robert


[1] http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html
.



Relevant Pages

  • Re: Threads in java
    ... I am facing problem in Threads in java. ... I have studied threads and know ... But I just cant get started. ... can get some sample codes showing the use of wait, notify, sleep ...
    (comp.lang.java.programmer)
  • Threads in java
    ... I am facing problem in Threads in java. ... I have studied threads and know ... But I just cant get started. ... can get some sample codes showing the use of wait, notify, sleep ...
    (comp.lang.java.programmer)
  • Re: Threads in java
    ... Robert Klemme wrote: ... I am facing problem in Threads in java. ... I have studied threads and know ...
    (comp.lang.java.programmer)
  • RE: activeX
    ... So i deleted it again and all of a sudden my Java stops working and i cant ... even open Outlook properly. ... Windows update ...
    (microsoft.public.windowsupdate)
  • Re: BizTalk 2004 :: SOAP web service attachments advice needed
    ... then the (java) server dictates the technology used. ... >> Marvin Smit ... I cant get the adapter to work correctly anyway. ... >>>I am consuming a web service coming from an outside location, ...
    (microsoft.public.biztalk.general)