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

Kris Kennaway kris at obsecurity.org
Wed Dec 31 11:21:54 PST 2003


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-projects/attachments/20031231/c6f7fb3b/attachment.bin


More information about the cvs-projects mailing list