National Institute of Standards and Technology
Package illustrating a test case

Test case 145793

Description

Demonstrates use of unlock() more times than lock() 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.