National Institute of Standards and Technology
Package illustrating a test case

Test case 142771

Description

Demonstrates use of lock() more times than unlock() in a Servlet that updates a shared variable. Servlets are inherently multithreaded, so we dont need to actually start threads in the bad() and goodX() functions.

Flaws

Test Suites

Documentation

Have any comments on this test case? Please, send us an email.