The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
pointers Milla High Level Programming 2 11-03-2007 05:13 AM
Pure Virtual Function in C++ krishna_sicsr High Level Programming 1 06-03-2007 05:11 PM
pointers areef4u High Level Programming 4 08-05-2006 06:08 PM
sharing of IP address for load sharing avoiding virtual server & redirection machine Rakesh Ranjan IP Networking 2 08-25-2005 02:45 PM
Regarding Function and Pointers. S.Vishwanath High Level Programming 0 05-25-2004 09:15 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 01-24-2002
Seeker Seeker is offline
Registered User
  
 

Join Date: Dec 2001
Posts: 14
Question Sharing C++ Objects with virtual function table pointers

I am pondering the next question:
Can I safely sare objects that have virtual functions (i.e. have
virtual function table pointers) between two processes ?
Where will the pointers point to in each process ?
What I am afraid of is that in the creating process the pointer
will indeed point to the virtual function table, but in the
sharing process that pointer will point at junk.


Can anyone calm me or maybe confirm my fears ?

Thank you !
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0