chaitu chaitu
asked on
what is difference between join() and yield() ?
what is difference between join() and yield() ?
yield() is used when we want to give otherthread of the same priority access to run then we use yield method.
then what is join() method do.
yield() is used when we want to give otherthread of the same priority access to run then we use yield method.
then what is join() method do.
Join blocks the current thread until the thread you issued the join on dies.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.