apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Ghent <da...@elemental.org>
Subject Re: nested mutexes
Date Tue, 19 Jun 2001 18:22:21 GMT
On Tue, 19 Jun 2001, David Reid wrote:

| If we already own a lock we should be able to lock it again shouldn't we?

In pthread world, A mutex can only be recursively locked if
PTHREAD_MUTEX_RECURSIVE is set in the mutex's attributes, which, from a
glance at the lock code, we dont seem to set. In absence of that on
solaris, the default result recursive locking is "undefined" behaviour.


View raw message