lkml.org 
[lkml]   [2009]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectEvent notification when sysfs attribute changes
From
I'd like to allow userspace applications to track and display state
changes (without polling) in a driver that exports attributes via sysfs.

What is the best way to notify userspace applications when a sysfs
exported attribute changes?

In particular I wanted to drive the notification in the *_store() function
of the sysfs attribute.

Also, ideally, the mechanism would allow multiple userspace applications
to hook into the notification.

Thanks,

Rick




\
 
 \ /
  Last update: 2009-08-12 16:29    [W:0.041 / U:0.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site