Search:

Type: Posts; User: peter_parker

Search: Search took 0.07 seconds.

  1. Thread: threads

    by peter_parker
    Replies
    3
    Views
    1,477

    Re: threads

    I am asking that whether it is possible in the above code to have output as :
    hello
    one
    main
    hello
    two Because print statement for hello occurs after print for thread name.So is it possible...
  2. Thread: threads

    by peter_parker
    Replies
    3
    Views
    1,477

    threads

    I have the following code on threads.I have a doubt that is it possible that any of the two threads created ie one and two will execute the 2nd print statement in run method before the first print...
Results 1 to 2 of 2