[omniORB] Thread Safe

Martin Gee mgee@sprintcorp.com
Tue, 24 Mar 1998 13:57:53 -0600


In the documentation OmniORB states it is fully mutlithreaded.

Question:
Does this mean I must mutex lock and unlock in data sensitive areas in a
implementation e.g.

void foo::bar()
{
	pthread_mutex_lock(&lock);
	globaldata++;
	pthread_mutex_unlock(&lock);
}

Or is data synchronization happening in the upcall implicitly by the
ORB?  (Is the call bar synchronized for you by omni).

Thanks in advance,
Martin Gee