浏览代码

Update time.odin

blob1807 1 年之前
父节点
当前提交
8eed65ad4c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/time/time.odin

+ 1 - 1
core/time/time.odin

@@ -240,7 +240,7 @@ time_add :: proc "contextless" (t: Time, d: Duration) -> Time {
 // On Windows it depends but is comparable with regular sleep in the worst case.
 // To get the same kind of accuracy as on Linux, have your program call `windows.timeBeginPeriod(1)` to
 // tell Windows to use a more accurate timer for your process.
-// Additionally your program should call `windows.timeEndPeriod(1)` once you're done. 
+// Additionally your program should call `windows.timeEndPeriod(1)` once you're done with `accurate_sleep`. 
 accurate_sleep :: proc "contextless" (d: Duration) {
 	to_sleep, estimate, mean, m2, count: Duration