mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2025-03-01 10:35:23 +00:00
lock reader, write and user counts with mutex
This commit is contained in:
@@ -182,6 +182,7 @@ struct dvb_device {
|
||||
int readers;
|
||||
int writers;
|
||||
int users;
|
||||
struct mutex lock;
|
||||
|
||||
wait_queue_head_t wait_queue;
|
||||
/* don't really need those !? -- FIXME: use video_usercopy */
|
||||
|
Reference in New Issue
Block a user