| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 | 
							- <!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=utf-8" />
 
-     
 
-     <title>Platform Specific - celery.platform — Celery v0.1.15 documentation</title>
 
-     <link rel="stylesheet" href="../static/default.css" type="text/css" />
 
-     <link rel="stylesheet" href="../static/pygments.css" type="text/css" />
 
-     <script type="text/javascript">
 
-       var DOCUMENTATION_OPTIONS = {
 
-         URL_ROOT:    '../',
 
-         VERSION:     '0.1.15',
 
-         COLLAPSE_MODINDEX: false,
 
-         FILE_SUFFIX: '.html',
 
-         HAS_SOURCE:  true
 
-       };
 
-     </script>
 
-     <script type="text/javascript" src="../static/jquery.js"></script>
 
-     <script type="text/javascript" src="../static/doctools.js"></script>
 
-     <link rel="top" title="Celery v0.1.15 documentation" href="../index.html" />
 
-     <link rel="next" title="Timers - celery.timer" href="celery.timer.html" />
 
-     <link rel="prev" title="Messaging - celery.messaging" href="celery.messaging.html" /> 
 
-   </head>
 
-   <body>
 
-     <div class="related">
 
-       <h3>Navigation</h3>
 
-       <ul>
 
-         <li class="right" style="margin-right: 10px">
 
-           <a href="../genindex.html" title="General Index"
 
-              accesskey="I">index</a></li>
 
-         <li class="right" >
 
-           <a href="../modindex.html" title="Global Module Index"
 
-              accesskey="M">modules</a> |</li>
 
-         <li class="right" >
 
-           <a href="celery.timer.html" title="Timers - celery.timer"
 
-              accesskey="N">next</a> |</li>
 
-         <li class="right" >
 
-           <a href="celery.messaging.html" title="Messaging - celery.messaging"
 
-              accesskey="P">previous</a> |</li>
 
-         <li><a href="../index.html">Celery v0.1.15 documentation</a> »</li> 
 
-       </ul>
 
-     </div>  
 
-     <div class="document">
 
-       <div class="documentwrapper">
 
-         <div class="bodywrapper">
 
-           <div class="body">
 
-             
 
-   <div class="section" id="module-celery.platform">
 
- <h1>Platform Specific - celery.platform<a class="headerlink" href="#module-celery.platform" title="Permalink to this headline">¶</a></h1>
 
- <p>celery.platform</p>
 
- <dl class="class">
 
- <dt id="celery.platform.PIDFile">
 
- <em class="property">
 
- class </em><tt class="descclassname">celery.platform.</tt><tt class="descname">PIDFile</tt><big>(</big><em>pidfile</em><big>)</big><a class="headerlink" href="#celery.platform.PIDFile" title="Permalink to this definition">¶</a></dt>
 
- <dd><p>Manages a pid file.</p>
 
- <dl class="method">
 
- <dt id="celery.platform.PIDFile.check">
 
- <tt class="descname">check</tt><big>(</big><big>)</big><a class="headerlink" href="#celery.platform.PIDFile.check" title="Permalink to this definition">¶</a></dt>
 
- <dd><p>Check the status of the pidfile.</p>
 
- <p>If the pidfile exists, and the process is not running, it will
 
- remove the stale pidfile and continue as normal. If the process
 
- <em>is</em> running, it will exit the program with an error message.</p>
 
- </dd></dl>
 
- <dl class="method">
 
- <dt id="celery.platform.PIDFile.get_pid">
 
- <tt class="descname">get_pid</tt><big>(</big><big>)</big><a class="headerlink" href="#celery.platform.PIDFile.get_pid" title="Permalink to this definition">¶</a></dt>
 
- <dd>Get the process id stored in the pidfile.</dd></dl>
 
- <dl class="method">
 
- <dt id="celery.platform.PIDFile.remove">
 
- <tt class="descname">remove</tt><big>(</big><big>)</big><a class="headerlink" href="#celery.platform.PIDFile.remove" title="Permalink to this definition">¶</a></dt>
 
- <dd>Remove the pidfile.</dd></dl>
 
- <dl class="method">
 
- <dt id="celery.platform.PIDFile.write">
 
- <tt class="descname">write</tt><big>(</big><em>pid=None</em><big>)</big><a class="headerlink" href="#celery.platform.PIDFile.write" title="Permalink to this definition">¶</a></dt>
 
- <dd><p>Write a pidfile.</p>
 
- <p>If <tt class="docutils literal"><span class="pre">pid</span></tt> is not specified the pid of the current process
 
- will be used.</p>
 
- </dd></dl>
 
- </dd></dl>
 
- <dl class="function">
 
- <dt id="celery.platform.daemonize">
 
- <tt class="descclassname">celery.platform.</tt><tt class="descname">daemonize</tt><big>(</big><em>pidfile</em><big>)</big><a class="headerlink" href="#celery.platform.daemonize" title="Permalink to this definition">¶</a></dt>
 
- <dd>Detach a process from the controlling terminal and run it in the
 
- background as a daemon.</dd></dl>
 
- <dl class="function">
 
- <dt id="celery.platform.remove_pidfile">
 
- <tt class="descclassname">celery.platform.</tt><tt class="descname">remove_pidfile</tt><big>(</big><em>pidfile</em><big>)</big><a class="headerlink" href="#celery.platform.remove_pidfile" title="Permalink to this definition">¶</a></dt>
 
- <dd>Remove the pidfile.</dd></dl>
 
- </div>
 
-           </div>
 
-         </div>
 
-       </div>
 
-       <div class="sphinxsidebar">
 
-         <div class="sphinxsidebarwrapper">
 
-             <h4>Previous topic</h4>
 
-             <p class="topless"><a href="celery.messaging.html"
 
-                                   title="previous chapter">Messaging - celery.messaging</a></p>
 
-             <h4>Next topic</h4>
 
-             <p class="topless"><a href="celery.timer.html"
 
-                                   title="next chapter">Timers - celery.timer</a></p>
 
-             <h3>This Page</h3>
 
-             <ul class="this-page-menu">
 
-               <li><a href="../sources/reference/celery.platform.txt"
 
-                      rel="nofollow">Show Source</a></li>
 
-             </ul>
 
-           <div id="searchbox" style="display: none">
 
-             <h3>Quick search</h3>
 
-               <form class="search" action="../search.html" method="get">
 
-                 <input type="text" name="q" size="18" />
 
-                 <input type="submit" value="Go" />
 
-                 <input type="hidden" name="check_keywords" value="yes" />
 
-                 <input type="hidden" name="area" value="default" />
 
-               </form>
 
-               <p class="searchtip" style="font-size: 90%">
 
-               Enter search terms or a module, class or function name.
 
-               </p>
 
-           </div>
 
-           <script type="text/javascript">$('#searchbox').show(0);</script>
 
-         </div>
 
-       </div>
 
-       <div class="clearer"></div>
 
-     </div>
 
-     <div class="related">
 
-       <h3>Navigation</h3>
 
-       <ul>
 
-         <li class="right" style="margin-right: 10px">
 
-           <a href="../genindex.html" title="General Index"
 
-              >index</a></li>
 
-         <li class="right" >
 
-           <a href="../modindex.html" title="Global Module Index"
 
-              >modules</a> |</li>
 
-         <li class="right" >
 
-           <a href="celery.timer.html" title="Timers - celery.timer"
 
-              >next</a> |</li>
 
-         <li class="right" >
 
-           <a href="celery.messaging.html" title="Messaging - celery.messaging"
 
-              >previous</a> |</li>
 
-         <li><a href="../index.html">Celery v0.1.15 documentation</a> »</li> 
 
-       </ul>
 
-     </div>
 
-     <div class="footer">
 
-       © Copyright 2009, Ask Solem.
 
-       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.1.
 
-     </div>
 
-   </body>
 
- </html>
 
 
  |