Displaying 2 results from an estimated 2 matches for "need_lock".
2007 Nov 24
19
R/W lock portability issue
...behave a bit differently (specifically, it would return true if *any*
thread was holding the lock, and false if there were no threads holding
the lock. This way ASSERTs never failed).
However, now there is a small bit of code that actually relies on
RW_LOCK_HELD() working correctly:
boolean_t need_lock = !RW_LOCK_HELD(&dp->dp_config_rwlock);
if (need_lock)
rw_enter(&dp->dp_config_rwlock, RW_READER);
I can''t think of a way to emulate this functionality with pthreads
without incurring a huge overhead when locking...
Any ideas?
Thanks,
Ricardo
--
<http://www....
2005 May 11
5
Implementing R on IBM p690 cluster Jump
Dear All,
we're trying to implement R on the IBM p690 cluster "Jump" at the
research centre in J?lich, Germany (c.f.
http://www.fz-juelich.de/nic/Supercomputer/computer-e.html)
using the most recent version of R (2.1.0) and precisly following the
installation instructions.
After ./configure we get the final message:
----------------
R is now configured for powerpc-ibm-aix5.2.0.0