Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fixed typos

...

This noncompliant code example uses the SocketReader class defined earlier in the Compliant Solution (close socket connection) of the guideline CON24CON26-J. Ensure that threads and tasks performing blocking operations can be terminated and submits it as a task to a thread pool defined in class PoolService.

...

This compliant solution submits the interruptible version of SocketReader discussed in the Compliant Solution (interruptible channel) of the guideline CON24CON26-J. Ensure that threads and tasks performing blocking operations can be terminated, to the thread pool.

...