~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_sleep.c

  • Committer: Brian Aker
  • Date: 2008-09-04 19:31:00 UTC
  • Revision ID: brian@tangent.org-20080904193100-l849hgghfy4urj43
Changing default character set from this point on.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
  t.tv_usec= m_seconds % 1000000L;
27
27
  select(0,0,0,0,&t); /* sleep */
28
28
#else
29
 
  uint32_t sec=    (uint) (m_seconds / 1000000L);
 
29
  uint sec=    (uint) (m_seconds / 1000000L);
30
30
  uint32_t start= (uint32_t) time((time_t*) 0);
31
31
  while ((uint32_t) time((time_t*) 0) < start+sec);
32
32
#endif