Skip to contentSkip to conversation

question on error return if poll is interrupted

DISCUSSION Oliver Neukum 1 participant 1 message Jul 25, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

is this code from the gspca driver correct:

	if (mutex_lock_interruptible(&gspca_dev->queue_lock) != 0)
		return POLLERR;

Shouldn't poll() return -EINTR ?

Regards
Oliver