minor fix in batcheventprocessor
fix noopeventprocessor
update workprocessor for pthreads