PR: 29006, 29008
Perl application kernel with event driven threads PR: 26959 Submitted by: Sergey Skvortsov <skv@protey.ru>