This article describes the Balking design pattern. This is a concurrency design pattern, a
design pattern used by software engineers, when writing computer programs.
The Balking pattern is a
design pattern, used in software engineering to "balk" or reject a request, when the object is not in a valid or complete state.
This usually means returning without performing any actions.
Another example would be to throw an exception like an
This pattern has become quite antiquated, as other modern patterns like Guarded Suspension and Read-write Lock replaced it.
This pattern is defined as a
concurrency design pattern because in this context it was defined for protecting and performing multi-threaded operations.
Return to Top
Thread-safe operations, like ignoring commands when still processing previous actions.