{"action":"created","issue":{"url":"https://api.github.com/repos/open62541/open62541/issues/480","labels_url":"https://api.github.com/repos/open62541/open62541/issues/480/labels{/name}","comments_url":"https://api.github.com/repos/open62541/open62541/issues/480/comments","events_url":"https://api.github.com/repos/open62541/open62541/issues/480/events","html_url":"https://github.com/open62541/open62541/issues/480","id":121282293,"number":480,"title":"processRepeatedJobs, again non-RTC-problems, but in the future","user":{"login":"NetoLe","id":16148176,"avatar_url":"https://avatars.githubusercontent.com/u/16148176?v=3","gravatar_id":"","url":"https://api.github.com/users/NetoLe","html_url":"https://github.com/NetoLe","followers_url":"https://api.github.com/users/NetoLe/followers","following_url":"https://api.github.com/users/NetoLe/following{/other_user}","gists_url":"https://api.github.com/users/NetoLe/gists{/gist_id}","starred_url":"https://api.github.com/users/NetoLe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetoLe/subscriptions","organizations_url":"https://api.github.com/users/NetoLe/orgs","repos_url":"https://api.github.com/users/NetoLe/repos","events_url":"https://api.github.com/users/NetoLe/events{/privacy}","received_events_url":"https://api.github.com/users/NetoLe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-09T16:16:03Z","updated_at":"2015-12-10T10:03:31Z","closed_at":null,"body":"Hello again, and sorry again.\r\n\r\nSo it works for now, if the server starts in the past. But if it starts in the future, like 2037, it gets problems, when it gets synchronized to RT.\r\n\r\nthe if-part:\r\n`if(tw->nextTime > current)`\r\nbreaks the loop that could set the time back.\r\nthe return then is the `MAXTIMEOUT`, because the `timeout` has values like over 3 billion, without setting the `tw->nextTime` to a valid value with which could be worked in the next iteration.\r\n\r\nTo explain the problem a bit clearer:\r\nI see, that the timeout is needed for `ServerNetworkLayerTCP_getJobs` and the inherent select function. But I am adding my own repeated Job (Type: UA_JOBTYPE_METHODCALL) that I use for a workaround, which updates my Variable-Values every 250 ms. So it is part of the repeated jobs but not related to the network functions. \r\nI don't know how to get it working correctly without breaking other parts in the code. Maybe an iteration through the list setting back the nextTimes would work.\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/open62541/open62541/issues/comments/163562499","html_url":"https://github.com/open62541/open62541/issues/480#issuecomment-163562499","issue_url":"https://api.github.com/repos/open62541/open62541/issues/480","id":163562499,"user":{"login":"Stasik0","id":469170,"avatar_url":"https://avatars.githubusercontent.com/u/469170?v=3","gravatar_id":"","url":"https://api.github.com/users/Stasik0","html_url":"https://github.com/Stasik0","followers_url":"https://api.github.com/users/Stasik0/followers","following_url":"https://api.github.com/users/Stasik0/following{/other_user}","gists_url":"https://api.github.com/users/Stasik0/gists{/gist_id}","starred_url":"https://api.github.com/users/Stasik0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stasik0/subscriptions","organizations_url":"https://api.github.com/users/Stasik0/orgs","repos_url":"https://api.github.com/users/Stasik0/repos","events_url":"https://api.github.com/users/Stasik0/events{/privacy}","received_events_url":"https://api.github.com/users/Stasik0/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T10:03:31Z","updated_at":"2015-12-10T10:03:31Z","body":"porting clock_gettime to windows with performance counters http://stackoverflow.com/questions/5404277/porting-clock-gettime-to-windows"}}