2

Example:

Professional Java developers who've come as far as they can without exploiting threads will find their skills bumped up a few notches by the time they finish Paul Hyde's Java Thread Programming. In a five-and-a-half-page first chapter, the book gives a basic concept briefing, then gets down to business with an example-rich education from the starting thread through inter-thread communication, thread groups, thread pooling, threads and Swing, and more. You'll get an experienced voice on how to gracefully exit from a thread -- and find out when to use the lead-between-the-eyes SureStop class instead. You'll even find out when multiple threads aren't a good idea. If you're serious about learning what it takes to do Java really, really well, this book is a good place to invest your time.

A simple Google search reveals nothing. What do you think the author is trying to say?

9

You'll get an experienced voice on how to gracefully exit from a thread -- and find out when to use the lead-between-the-eyes SureStop class instead.

The meaning is "deadly" or "lethal" (adjective). Deadly to the thread that you want to quickly and surely halt.

You'll get an experienced voice on how to gracefully exit from a thread -- and find out when to use the deadly SureStop class instead.

The SureStop class apparently can be used to forcefully and rapidly shut down a thread - like putting a bullet (= lead) between someone's eyes.

Bullets are made of lead. The word "bullet" has been substituted with "lead" to make the sentence more expressive.

We can also say that this method is "deadly efficient", like last-resort methods often are. A method with a great "stopping power".

Hereunder goes a wholesale crib of a great comment by talrnu:

Military training specifically teaches shooters to aim at the space between the eyes in order to hit a particular part of the brain which instantly shuts down all mechanical control, e.g. so a hostage-taker doesn't have a chance to even accidentally pull the trigger on the gun they're holding to a hostage's head. So, shooting between the eyes is the most effective way to solve a conflict with a hostile gunman, and SureStop is parallelized with this idea to emphasize it's the most effective way to solve this particular programming problem.

  • I agree that you're right that "lead" means "bullet". I'm not sure if the author really meant the whole phrase as "deadly", though he could as well be. (Anyway, "deadly" may sound better than "ungraceful killer".) In any case, here is what he wrote in his Guidelines for Using SureStop: If those other techniques happen to fail to get the thread to die, SureStop steps in after a timeout and abruptly stops the defiant thread. (pg. 266 of the book) – Damkerng T. Jul 20 '15 at 12:22
  • 2
    @DamkerngT. - I didn't mean deadly in a dead-serious sence: it's a metaphor. Like, "deadly efficient". Maybe there's a better formulation... all I can come up at the moment is "decisive", "drastic", "radical".. – CowperKettle Jul 20 '15 at 12:24
  • 2
    Military training specifically teaches shooters to aim at the space between the eyes in order to hit a particular part of the brain which instantly shuts down all mechanical control, e.g. so a hostage-taker doesn't have a chance to even accidentally pull the trigger on the gun they're holding to a hostage's head. So, shooting between the eyes is the most effective way to solve a conflict with a hostile gunman, and SureStop is parallelized with this idea to emphasize it's the most effective way to solve this particular programming problem. – talrnu Jul 20 '15 at 13:59
  • @talrnu - a great comment! You might post this as an answer! – CowperKettle Jul 20 '15 at 14:06
  • 1
    @CopperKettle A separate answer would look almost identical to yours so I figured a comment here would be better. Feel free to incorporate it into your answer if you like. – talrnu Jul 20 '15 at 15:08
2

It means - use Auditing process R2-45

Standard R2-45 thetan exteriorization tool. [Image from above link]

enter image description here


But ...

Spoiling the useful joke somewhat ...

The "metaphor" used is one of being shot between the eyes with a bullet.
What is being conveyed in the context is "taking an action which cuts everything off rapidly, closes things down, ensures there are no loose ends, is final."

The R2-45 audit is intended to do just that, but in another context.
It was originated by a one-time Science fiction writer who decided he could get more out of life by playing at being God than by writing science-fiction, so he set up a new religion based on science fiction concepts. It seemed to work for him. While he is alive, at least.

  • Note - this IS a valid and useful answer, but, it is also a joke. Making it longer, clearer, more detailed, more explicit or colouring it Octarine would detract from its overall impact and purpose. FWIW :-) – Russell McMahon Jul 20 '15 at 14:50
  • 2
    Please keep in mind that the folks reading your answer probably are still learning English. Without more explanation, this isn't going to be that useful to most of them. I think with a little elaboration this answer could be really interesting to learners. – ColleenV Jul 20 '15 at 15:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.