Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am developing a GUI application using GTK+ for my char driver.
And using pthread, write invoked to char interface driver and a signal handler is register for read interface call this is called once a signal notified from driver.
And also am using GTK widget like set a text in GTK edit box in my read signal handler.
Here i facing a problem of FUTEX lock in setting text in edit box after some runs.
If i do not set the text in edit it is passing, otherwise failing.
I am developing a GUI application using GTK+ for my char driver.
And using pthread, write invoked to char interface driver and a signal handler is register for read interface call this is called once a signal notified from driver.
And also am using GTK widget like set a text in GTK edit box in my read signal handler.
Here i facing a problem of FUTEX lock in setting text in edit box after some runs.
If i do not set the text in edit it is passing, otherwise failing.
What could be reason for above failure?
Thanks
Well, since you don't post any of your code, any real error messages, or tell us what version/distro of Linux, GTK, etc., you're using, how can we tell, or even begin to try to help you??
Since you wrote the program, you're probably the best one to debug it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.