X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=thread.h;h=728df27cd38002881f5270315344c1616307fc42;hp=12aa133d82f77781e6de0b3273e8dc0128232d76;hb=74cd48ffef90d7d0752e37a4515e4ecfb68f7c9d;hpb=3fd8650ccf3da3960a946d8ac9abc305aec399ce diff --git a/thread.h b/thread.h index 12aa133..728df27 100644 --- a/thread.h +++ b/thread.h @@ -38,7 +38,8 @@ protected: // Wait until a wakeup. void wait_for_wakeup(const timespec *timeout_ts) { wait_for_activity(-1, 0, timeout_ts); } - // Make wait_for_activity() return. + // Make wait_for_activity() return. Note that this is a relatively expensive + // operation. void wakeup(); bool should_stop();