Search:

Type: Posts; User: helloworld922

Search: Search took 0.11 seconds.

  1. Replies
    12
    Views
    5,674

    Re: How Can I run java threads

    I posted a link in my last post that has an example of piping input/output between two different threads (including waiting on the read thread if there's nothing to read). Please read that and you...
  2. Replies
    12
    Views
    5,674

    Re: How Can I run java threads

    hmm... so you're enqueueing items onto a linked list and reading them off from different threads?

    I would still go ahead with the suggestion I made:

    The enqueue thread would obtain the lock for...
  3. Replies
    12
    Views
    5,674

    Re: How Can I run java threads

    I'm not quite sure what it is you want, tell me if this is something like what you want:

    1. Have a thread poll a list for items that need to be processed. If there is something, process it. If...
Results 1 to 3 of 3