Hi Miri,
>> I’m trying to port code form Sun Solaris to Linux and I have problems with
>> linux threads.
>> I’m using “phtread_mutexattr_setpshared(… PTHREAD_PROCESS_SHARED) but it
>> seams that Linux thread not supporting PHREAD_PROCESS_SHARED.
>>
>> I wonder if using class ACE_PROCESS_MUTEX can solve that problem ?
Naturally, it depends on what problem you're trying to address, but I
suspect that ACE_Process_Mutex ought to help. Please see Chapter 10
of C++NPv1 <www.cs.wustl.edu/~schmidt/ACE/book1/> for more info on
this. There are also examples in
$ACE_ROOT/tests/Process_Mutex_Test.cpp
Take care,
Doug
--
Dr. Douglas C. Schmidt, Associate Professor TEL: (949) 824-1901
Dept of Electrical & Computer Engineering FAX: (949) 824-2321
616E Engineering Tower WEB: www.ece.uci.edu/~schmidt/
University of California, Irvine, 92697-2625 NET: schmidt@...