This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

pthread_mutex_destroy receives EINTR


hi,list,

man page says pthread_mutex_destroy should never return errno code of EINTR.

in my use case, i did kill a thread by signal and then called pthread_mutex_destroy to get gid of a mutex. it did fail where errno == EINTR.
is the behavior right? because the killed thread has no interfere with then mutex.


i expect people here can help me destroy the mutex in right manner.

glibc 2.6
kernel 2.6.23
fedora7

thanks,
--lx



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]