| |
comp.unix.programmer |
On Jul 4, 2:50 am, James Kanze <james.ka...@gmail.com> wrote: DS
> pthread_cond_t, and use the copy?
copy refer to the mutex, simply copying the reference to it? Or does
it refer to a new mutex initialized to the same state as the original
mutex? If the mutex copied is locked, is the copy locked?
> answer which makes sense to me), where does the Posix
> specification say this?
pthread_mutex_t? The standard does not have to explicitly prohibit
every crazy thing you can imagine to do.
> for example, if a copy a mutex which is held by a thread, wait
> on the copy, and the holding thread frees the original?
couldn't find where.)