Search:

Type: Posts; User: Cornix

Search: Search took 0.10 seconds.

  1. Thread: thread

    by Cornix
    Replies
    5
    Views
    1,101

    Re: thread

    I meant other ways of synchronization, there is more then one.
    Maybe google "consumer producer synchronization" and read up on some documentations and articles describing what it is.
  2. Thread: thread

    by Cornix
    Replies
    5
    Views
    1,101

    Re: thread

    What methods for synchronization do you know and which do you want to use?
  3. Thread: thread

    by Cornix
    Replies
    5
    Views
    1,101

    Re: thread

    First of all you should create 2 threads, either pass a runnable to either of them or use annonymous sub-classes of thread that overwrite their run() method.
    Have them print numbers inside a for...
Results 1 to 3 of 3