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.

/dale

Reply via email to