How many mutex objects can exist at the same time?

Okie, for this question, I remember that a interviewer has asked me before, unfortunately I didn’t know how to answer this question at that time. But the answer he gave me is not very correct when I know the truth. First, let’s go through the truth: There is no explicit maximum count for the number of mutex … Read more

Categories Uncategorized

Valgrind is not friendly for swapcontext

Okie, long time no see … I write this only better for me to remember something what happend, something what I want to share. This is an experience what I’ve troubled, last week, when I tested my program about c-coroutine library, I found that a lot of critical informations in the output of valgrind. for … Read more

How to clear the git branch list

There is a case, we create a remote branch named “test”, and we delete it after we recognize it un-useful. But we take a look at our branch list ( through “git branch -a” ), the branch name has already shown in the list, which has been deleted before. That will be mislead us, we … Read more

Categories Uncategorized