Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assignment 4 complete #2

Open
wants to merge 7 commits into
base: Assignment-3-complete
Choose a base branch
from

Conversation

charan1811
Copy link

No description provided.

Copy link
Contributor

@dwalkes dwalkes left a comment

Choose a reason for hiding this comment

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

{
ERROR_LOG("Sleep for wait_to_release_ms before locking mutex failed with error %s\n", strerror(errno));
thread_func_args->thread_complete_success = false;
return thread_param;
Copy link
Contributor

Choose a reason for hiding this comment

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

@traptibalgi what happens to the mutex on this return path?

{
/* If ret non-zero, create failed*/
ERROR_LOG("pthread_create failed with error %s\n", strerror(errno));
return false;
Copy link
Contributor

Choose a reason for hiding this comment

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

@traptibalgi what happens to the memory in thread_data_s in this code path?

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.

2 participants