[ace-users] I got some strange problems with ACE on
linux(ubuntu 7.04)
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Wed Jun 13 02:20:18 CDT 2007
Hi,
>I found the reason my self.
Great!
>The problem comes from the mutex. there is a recursive mutex in my
>code which happen when handle_close() was called. And I use
>ACE_Thread_Mutex as mutex.
>
>but it seems that the program runs normally on Windows.
Right - that's because Windows mutexes are recursive, whereas Linux
mutexes are not. This is described in Chapter 10 of C++NPv1
<www.cs.wustl.edu/~schmidt/ACE/book1>.
take care,
Doug
--
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Vanderbilt University WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203 NET: d.schmidt at vanderbilt.edu
More information about the Ace-users
mailing list