add process identifier when logging queue apc thread function