home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue4 / SDL / gcc346 / !SDL / man / SDL_CondWait.3 < prev    next >
Encoding:
Text File  |  2006-09-20  |  1.3 KB  |  42 lines

  1. <!-- manual page source format generated by PolyglotMan v3.0.8+X.Org, -->
  2. <!-- available at http://polyglotman.sourceforge.net/ -->
  3.  
  4. <html>
  5. <head>
  6. <title>"SDL_CondWait"("3") manual page</title>
  7. </head>
  8. <body bgcolor='#efefef' text='black' link='blue' vlink='#551A8B' alink='red'>
  9. <a href='#toc'>Table of Contents</a><p>
  10.  
  11. <h2><a name='sect0' href='#toc0'>Name</a></h2>
  12. SDL_CondWait- Wait on a condition variable 
  13. <h2><a name='sect1' href='#toc1'>Synopsis</a></h2>
  14. <p>
  15. <b>#include "SDL.h" #include
  16. "SDL_thread.h" <p>
  17. </b><b>int <b>SDL_CondWait</b></b>(<b>SDL_cond *cond, SDL_mutex *mut</b>); 
  18. <h2><a name='sect2' href='#toc2'>Description</a></h2>
  19. <p>
  20. Wait
  21. on the condition variable <b>cond</b> and unlock the provided mutex. The mutex
  22. must the locked before entering this function. Returns <b>0</b> when it is signalled,
  23. or <b>-1</b> on an error. 
  24. <h2><a name='sect3' href='#toc3'>See Also</a></h2>
  25. <p>
  26. <i><b>SDL_CondWaitTimeout</b></i>, <i><b>SDL_CondSignal</b></i>, <i><b>SDL_mutexP</b></i>
  27.  
  28. <!--
  29.   
  30.  <p>
  31.  
  32. <hr><p>
  33. <a name='toc'><b>Table of Contents</b></a><p>
  34. <ul>
  35. <li><a name='toc0' href='#sect0'>Name</a></li>
  36. <li><a name='toc1' href='#sect1'>Synopsis</a></li>
  37. <li><a name='toc2' href='#sect2'>Description</a></li>
  38. <li><a name='toc3' href='#sect3'>See Also</a></li>
  39. </ul>
  40. </body>
  41. </html>
  42.