Merge branch 'release-1.0beta-refresh' into cmake_build
This commit is contained in:
		@ -447,10 +447,15 @@ size_t nrounds = 0;
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
		/** Wait base interval */
 | 
							/** Wait base interval */
 | 
				
			||||||
		thread_millisleep(MON_BASE_INTERVAL_MS);
 | 
							thread_millisleep(MON_BASE_INTERVAL_MS);
 | 
				
			||||||
		
 | 
							/** 
 | 
				
			||||||
		/** If monitor interval time isn't consumed skip checks */ 
 | 
							 * Calculate how far away the monitor interval is from its full 
 | 
				
			||||||
		if (nrounds != 0 &&
 | 
							 * cycle and if monitor interval time further than the base 
 | 
				
			||||||
			(nrounds*MON_BASE_INTERVAL_MS)%handle->interval != 0) 
 | 
							 * interval, then skip monitoring checks. Excluding the first
 | 
				
			||||||
 | 
							 * round.
 | 
				
			||||||
 | 
							 */ 
 | 
				
			||||||
 | 
							if (nrounds != 0 && 
 | 
				
			||||||
 | 
								((nrounds*MON_BASE_INTERVAL_MS)%handle->interval) > 
 | 
				
			||||||
 | 
								MON_BASE_INTERVAL_MS) 
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			nrounds += 1;
 | 
								nrounds += 1;
 | 
				
			||||||
			continue;
 | 
								continue;
 | 
				
			||||||
 | 
				
			|||||||
@ -611,10 +611,15 @@ size_t nrounds = 0;
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
		/** Wait base interval */
 | 
							/** Wait base interval */
 | 
				
			||||||
		thread_millisleep(MON_BASE_INTERVAL_MS);
 | 
							thread_millisleep(MON_BASE_INTERVAL_MS);
 | 
				
			||||||
		
 | 
							/** 
 | 
				
			||||||
		/** If monitor interval time isn't consumed skip checks */ 
 | 
							 * Calculate how far away the monitor interval is from its full 
 | 
				
			||||||
		if (nrounds != 0 &&
 | 
							 * cycle and if monitor interval time further than the base 
 | 
				
			||||||
			(nrounds*MON_BASE_INTERVAL_MS)%handle->interval != 0) 
 | 
							 * interval, then skip monitoring checks. Excluding the first
 | 
				
			||||||
 | 
							 * round.
 | 
				
			||||||
 | 
							 */
 | 
				
			||||||
 | 
							if (nrounds != 0 && 
 | 
				
			||||||
 | 
								((nrounds*MON_BASE_INTERVAL_MS)%handle->interval) > 
 | 
				
			||||||
 | 
								MON_BASE_INTERVAL_MS) 
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			nrounds += 1;
 | 
								nrounds += 1;
 | 
				
			||||||
			continue;
 | 
								continue;
 | 
				
			||||||
 | 
				
			|||||||
@ -445,10 +445,15 @@ size_t nrounds = 0;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		/** Wait base interval */
 | 
							/** Wait base interval */
 | 
				
			||||||
		thread_millisleep(MON_BASE_INTERVAL_MS);
 | 
							thread_millisleep(MON_BASE_INTERVAL_MS);
 | 
				
			||||||
		
 | 
							/** 
 | 
				
			||||||
		/** If monitor interval time isn't consumed skip checks */ 
 | 
							 * Calculate how far away the monitor interval is from its full 
 | 
				
			||||||
		if (nrounds != 0 &&
 | 
							 * cycle and if monitor interval time further than the base 
 | 
				
			||||||
			(nrounds*MON_BASE_INTERVAL_MS)%handle->interval != 0) 
 | 
							 * interval, then skip monitoring checks. Excluding the first
 | 
				
			||||||
 | 
							 * round.
 | 
				
			||||||
 | 
							 */ 
 | 
				
			||||||
 | 
							if (nrounds != 0 && 
 | 
				
			||||||
 | 
								((nrounds*MON_BASE_INTERVAL_MS)%handle->interval) > 
 | 
				
			||||||
 | 
								MON_BASE_INTERVAL_MS) 
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			nrounds += 1;
 | 
								nrounds += 1;
 | 
				
			||||||
			continue;
 | 
								continue;
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user