[ 
https://issues.apache.org/jira/browse/GEODE-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15886110#comment-15886110
 ] 

ASF GitHub Bot commented on GEODE-2552:
---------------------------------------

Github user pivotal-jbarrett commented on the issue:

    https://github.com/apache/geode-native/pull/40
  
    > Would adding const to variables like spentWorking and sleepDuration help 
the compiler generate more efficient code?
    
    I doubt the compilers would care since it will know the scope is limited to 
the block and there are no other assignment operations. It does however provide 
more readable and safe coding style. I could make adjustments.


> Replace NanoTimer with std::chrono / std::this_thread::sleep_for
> ----------------------------------------------------------------
>
>                 Key: GEODE-2552
>                 URL: https://issues.apache.org/jira/browse/GEODE-2552
>             Project: Geode
>          Issue Type: Task
>            Reporter: Jacob S. Barrett
>
> Replace `NanoTimer` with `std::chrono` / `std::this_thread::sleep_for`



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to