pointerdetector2: Protect critical section
pointerdetector2: Protect critical section

Change-Id: I0a5e5c6840ba49e2fbceddb8807eab93794baf2b

Kurento/kms-pointerdetector,shelsonjava/kms-pointerdetector,dfernandezlop/kms-pointerdetector,shelsonjava/kms-pointerdetector,Kurento/kms-pointerdetector,dfernandezlop/kms-pointerdetector,dfernandezlop/kms-pointerdetector,shelsonjava/kms-pointerdetector,Kurento/kms-pointerdetector