Re: cvs commit: projects/validate/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock 5-1.c 5-2.c 5-3.c

Kris Kennaway <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.projects
Message-ID <[email protected]>
On Wed, Dec 31, 2003 at 07:54:48AM -0800, Mike Makonnen wrote:
> mtm         2003/12/31 07:54:48 PST
> 
>   FreeBSD projects repository
> 
>   Modified files:
>     validate/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock 
>                                                                                            5-1.c 
>                                                                                            5-2.c 
>                                                                                            5-3.c 
>   Log:
>   Correct incorrect assertion about the behaviour of pthread_mutex_timedlock()
>           o If the thread has the mutex already locked it will not block. It
>             will return EDEADLK. Therefore, according to the standard,
>             returning EINVAL if the timeout is invalid does not apply to
>             such a thread.
>   
>   Better explanation for the case testing for immediate return
>   with ETIMEDOUT when the timeout is set to the current time.

Isn't something a bit wrong with the testsuite if you have to make a
lot of commits to port it to freebsd?

Kris
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/8yHPWry0BWjoQKURAp5YAKDuDINEyMLIpfJzAtBIus98j7JkJgCfabCe
naZPThHn3Tslqt1G2jRMbgI=
=8ZnI
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.