Skip to content

Conversation

@parth21999
Copy link
Member

No description provided.

@parth21999
Copy link
Member Author

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999
Copy link
Member Author

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999
Copy link
Member Author

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jebrando
Copy link
Contributor

Just curious why you created a linux and windows watchdog and didn't just create one watchdog file and use the threadpool_timer which is platform agnostic?

@parth21999
Copy link
Member Author

Because I didn't want this to be dependent on threadpool. That way, I can use this for threadpool_int.


In reply to: 3761788926


/*Codes_SRS_PROCESS_WATCHDOG_43_006: [ on_timer_expired shall call LogCriticalAndTerminate to terminate the process. ]*/
LogCriticalAndTerminate("Process watchdog timeout after %" PRIu32 " ms", g_timeout_ms);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, stay with me on this one.

You might want to check the g_watchdog_state to make sure that the stat is WATCHDOG_STATE_INITIALIZED here because of this:

"timer_delete() does not flush pending signals.
It only prevents future expirations."

Copy link
Contributor

@jebrando jebrando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Copy link
Contributor

@mattdurak mattdurak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@parth21999
Copy link
Member Author

/Azurepipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants