Why is there Sleep() in rtl_fm?

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

Alan Corey alancorey at yahoo.com
Wed Jan 2 04:19:03 UTC 2013


Is this from Windows or something?  In unix it's sleep, not Sleep, and it only takes ints or something similar.

I have a native (OpenBSD) usleep so I ifdefed:

#ifdef _WIN32
#define usleep(x) Sleep(x/1000)
#endif

It didn't affect my problem but it made me feel better.

  Alan

 
-----
Radio Astronomy - the ultimate DX
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/osmocom-sdr/attachments/20130101/053ac0b0/attachment.htm>


More information about the osmocom-sdr mailing list