Is there any advantage of using sqlite3_sleep()
instead a "normal" sleep?
The only reason I can think why sqlite developers added this call is to provide a cross-platform way to do a sleep. However, if we consider C++11, this call is useless because replaced by std::this_thread::sleep_for
, isn't it?
Aucun commentaire:
Enregistrer un commentaire