Re: Please stop apps going into state D uninterrupted sleep !!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/08/2012 04:17 PM, Patrick O'Callaghan wrote:
Depending on requirements, the programmer might be able
to use aio(7) calls, but it complicates things greatly and AFAIK doesn't
guarantee that the program will never wait.

If I read the man page correctly, a program can check the status of a call and, if appropriate cancel it. Going into a loop to wait for results and canceling the request if it hasn't finished after whatever seems to be a reasonable time (Let's ignore, for the moment how that time's picked; it's important, but not yet.) abort the call and return failure. I'm not sure how that could allow for an indefinite hang time, but I won't say it's impossible. Now, the next question becomes if it's worth while doing, or if it's trying to fix a problem that never[1] comes up.

[1]Well, hardly ever.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux