This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes single thread access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "single thread access" Watch "single thread access" New topic
Author

single thread access

priyanaka jaiswal
Ranch Hand

Joined: Jun 03, 2011
Posts: 79
Hi,


Can single thread can access multiple process?


thanks in advance
harshvardhan ojha
Ranch Hand

Joined: Jul 26, 2007
Posts: 157
    
    1

Hi Priyanka, if i have understood your question correctly you are asking about inter process communication.

Every process has its own address space, and threads inside it can share some data that is where we do synchronization, but two process doesn't share anything in common.
If you have to do it, you need OS level support like network, files, pipes, queues, RPC calls etc. Again this is not thread to thread communication.
priyanaka jaiswal
Ranch Hand

Joined: Jun 03, 2011
Posts: 79
Thank you Harshvardhan
priyanaka jaiswal
Ranch Hand

Joined: Jun 03, 2011
Posts: 79
Thank you Harshvardhan
 
jQuery in Action, 2nd edition
 
subject: single thread access