<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>struct hrtimer_sleeper</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="Linux Device Drivers" /><link rel="up" href="ch01s05.html" title="High-resolution timers" /><link rel="prev" href="API-struct-hrtimer.html" title="struct hrtimer" /><link rel="next" href="API-struct-hrtimer-clock-base.html" title="struct hrtimer_clock_base" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct hrtimer_sleeper</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-hrtimer.html">Prev</a> </td><th width="60%" align="center">High-resolution timers</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-hrtimer-clock-base.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="API-struct-hrtimer-sleeper"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct hrtimer_sleeper — simple sleeper structure </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> struct hrtimer_sleeper { struct hrtimer timer; struct task_struct * task; }; </pre></div><div class="refsect1"><a id="idm140404967838272"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">timer</span></dt><dd><p> embedded timer structure </p></dd><dt><span class="term">task</span></dt><dd><p> task to wake up </p></dd></dl></div></div><div class="refsect1"><a id="idm140404967834368"></a><h2>Description</h2><p> task is set to NULL, when the timer expires. </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-struct-hrtimer.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch01s05.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-hrtimer-clock-base.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct hrtimer</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct hrtimer_clock_base</span></td></tr></table></div></body></html>