Boost logo

Boost :

From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2006-04-13 07:34:38


Hi Ian,

Thanks for pointing out this. In the future, Shmem is becoming
Interprocess so I plan to use Boost.Date_Time instead of my own time
functions.

> With this patch, I am able to get the examples in shmem to build.
> Unfortunately, it then fails in
> boost::shmem::detail::mutexattr_wrapper::mutexattr_wrapper
> because pthread_mutexattr_init fails.

That might suggest that your darwin version does not support process
shared mutexes. I'm sorry I don't check that explicitly in my config
headers (I'm lost in all those POSIX option checkings).

Maybe you need to update your c library (darwin uses glibc or similar?)
to get both gettime and process shared mutexes. I will try to implement
some basic tests for future bugfix Shmem versions.

Regards,

Ion


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk