Re: Please stop apps going into state D uninterrupted sleep !!
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 comes up.
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
[Older Fedora Users] [Fedora Announce] [Fedora Package Announce] [EPEL Announce] [Fedora News] [Fedora Cloud] [Fedora Advisory Board] [Fedora Education] [Fedora Security] [Fedora Scitech] [Fedora Robotics] [Fedora Maintainers] [Fedora Infrastructure] [Fedora Websites] [Anaconda Devel] [Fedora Devel Java] [Fedora Legacy] [Fedora Desktop] [Fedora Fonts] [ATA RAID] [Fedora Marketing] [Fedora Management Tools] [Fedora Mentors] [SSH] [Find Someone Special] [Fedora Package Review] [Fedora R Devel] [Fedora PHP Devel] [Kickstart] [Fedora Music] [Fedora Packaging] [Centos] [Fedora SELinux] [Fedora Legal] [Fedora Kernel] [Fedora QA] [Fedora Triage] [Fedora OCaml] [Coolkey] [Virtualization Tools] [ET Management Tools] [Yum Users] [Tux] [Yosemite News] [Yosemite Photos] [Linux Apps] [Maemo Users] [Gnome Users] [KDE Users] [Fedora Tools] [Fedora Art] [Fedora Docs] [Maemo Users] [Asterisk PBX] [Fedora Sparc] [Fedora Universal Network Connector] [Libvirt Users] [Fedora ARM]