Search the web
Sign In
New User? Sign Up
ace-users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
(no subject)   Message List  
Reply | Forward Message #30972 of 42992 |
[ace-users] Re: (none)

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@...



Wed May 15, 2002 12:49 pm

schmidt@...
Send Email Send Email

Forward
Message #30972 of 42992 |
Expand Messages Author Sort by Date

Hello, I’m trying to port code form Sun Solaris to Linux and I have problems with linux threads. I’m using “phtread_mutexattr_setpshared(…...
Miri
mirih@...
Send Email
May 15, 2002
12:40 pm

Hi Miri, ... 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...
Douglas C. Schmidt
schmidt@...
Send Email
May 15, 2002
12:51 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help