There are two approaches that can be used if an API specifies time more finely than the system supports.
First, you can specify in the API that this is only a hint. This is accurate but it makes it more difficult to reason about and debug the actual behavior. Second, you can have the method return the actual value that will be used, which might be different than the value requested. On Fri, Jan 3, 2014 at 5:54 AM, KIU Shueng Chuan <[email protected]> wrote: > What should be the behavior if the user specifies 1500ms but the > underlying OS only supports seconds granularity? > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
