arduino/Arduino — pull request #1995 by bluesign2k (2014-04-07 11:45:12+00:00)
Title: Enable immediate evaluation of a Serial rx

Added a call to a new Serial rx event function,
"serialEventImmediate()". It allows users the advanced option of
processing an incoming serial character at the time of the interrupt
rather than having to wait for the current loop() to finish.

While the new function should be used with caution as it's called within
an interrupt routine, it enables processing of high priority incoming
data. eg. an abort or e-stop command